summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/acl.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-07-28 04:15:04 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:10 +0200
commit1a488e73067c65086191a63fe61e57692383fb27 (patch)
treebb723497d3544be51f812b8da2eae01e21fa5020 /fs/bcachefs/acl.c
parentbcachefs: Btree splits no longer automatically cause a transaction restart (diff)
downloadlinux-1a488e73067c65086191a63fe61e57692383fb27.tar.xz
linux-1a488e73067c65086191a63fe61e57692383fb27.zip
bcachefs: Kill BTREE_INSERT_NOUNLOCK
With the recent transaction restart changes, it's no longer needed - all transaction commits have BTREE_INSERT_NOUNLOCK semantics. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/acl.c')
-rw-r--r--fs/bcachefs/acl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/acl.c b/fs/bcachefs/acl.c
index d3e2e24758ba..39ac6d2e178d 100644
--- a/fs/bcachefs/acl.c
+++ b/fs/bcachefs/acl.c
@@ -336,8 +336,7 @@ retry:
ret = bch2_inode_write(&trans, inode_iter, &inode_u) ?:
bch2_trans_commit(&trans, NULL,
- &inode->ei_journal_seq,
- BTREE_INSERT_NOUNLOCK);
+ &inode->ei_journal_seq, 0);
btree_err:
bch2_trans_iter_put(&trans, inode_iter);