summaryrefslogtreecommitdiff
path: root/fs/bcachefs/xattr.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-12-23 07:39:28 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:33 +0300
commit58e2388f9e11eb2dfb12d7d11a9a3559cd0e8945 (patch)
treec94be3118875e64abbd1bd920c6dddac33bde2a7 /fs/bcachefs/xattr.c
parentb1fd23df1deda45a408d007aa0b105569d12b907 (diff)
downloadlinux-58e2388f9e11eb2dfb12d7d11a9a3559cd0e8945.tar.xz
bcachefs: Kill BTREE_INSERT_ATOMIC
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/xattr.c')
-rw-r--r--fs/bcachefs/xattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/xattr.c b/fs/bcachefs/xattr.c
index 6cef6c14fc89..806a638508a6 100644
--- a/fs/bcachefs/xattr.c
+++ b/fs/bcachefs/xattr.c
@@ -328,8 +328,7 @@ static int bch2_xattr_set_handler(const struct xattr_handler *handler,
struct bch_inode_info *inode = to_bch_ei(vinode);
struct bch_fs *c = inode->v.i_sb->s_fs_info;
- return bch2_trans_do(c, NULL, &inode->ei_journal_seq,
- BTREE_INSERT_ATOMIC,
+ return bch2_trans_do(c, NULL, &inode->ei_journal_seq, 0,
bch2_xattr_set(&trans, inode->v.i_ino,
&inode->ei_str_hash,
name, value, size,