mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
dmu_tx: make DMU_TX_* flags an enum
Mostly for a little more type checking and debugging visibility. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Paul Dagnelie <paul.dagnelie@klarasystems.com> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #17355
This commit is contained in:
committed by
Brian Behlendorf
parent
468d22d60c
commit
ac2e579521
+1
-1
@@ -1201,7 +1201,7 @@ dmu_tx_unassign(dmu_tx_t *tx)
|
||||
* 1 <- dmu_tx_get_txg(T3)
|
||||
*/
|
||||
int
|
||||
dmu_tx_assign(dmu_tx_t *tx, uint64_t flags)
|
||||
dmu_tx_assign(dmu_tx_t *tx, dmu_tx_flag_t flags)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user