diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-02 17:24:53 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-02 17:24:53 -0400 |
commit | 838bbd755ea6a501892546b07b77d0605d2114f0 (patch) | |
tree | 434c96e7e06824c21532d482441554dc4228c7b8 /libbcachefs/inode.c | |
parent | 315508358d5880f4b4b801d932fa15781acdee90 (diff) |
Update bcachefs sources to a41cc7750fb8 bcachefs: Add flags to subvolume_to_text()
Diffstat (limited to 'libbcachefs/inode.c')
-rw-r--r-- | libbcachefs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbcachefs/inode.c b/libbcachefs/inode.c index 5b35dae8..391daae5 100644 --- a/libbcachefs/inode.c +++ b/libbcachefs/inode.c @@ -1041,7 +1041,7 @@ again: goto found_slot; if (!ret && start == min) - ret = -BCH_ERR_ENOSPC_inode_create; + ret = bch_err_throw(trans->c, ENOSPC_inode_create); if (ret) { bch2_trans_iter_exit(trans, iter); @@ -1161,7 +1161,7 @@ retry: bch2_fs_inconsistent(c, "inode %llu:%u not found when deleting", inum.inum, snapshot); - ret = -BCH_ERR_ENOENT_inode; + ret = bch_err_throw(c, ENOENT_inode); goto err; } @@ -1328,7 +1328,7 @@ retry: bch2_fs_inconsistent(c, "inode %llu:%u not found when deleting", inum, snapshot); - ret = -BCH_ERR_ENOENT_inode; + ret = bch_err_throw(c, ENOENT_inode); goto err; } |