diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-07-28 04:15:04 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:10 +0200 |
commit | 1a488e73067c65086191a63fe61e57692383fb27 (patch) | |
tree | bb723497d3544be51f812b8da2eae01e21fa5020 /fs/bcachefs/acl.c | |
parent | bcachefs: Btree splits no longer automatically cause a transaction restart (diff) | |
download | linux-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.c | 3 |
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); |