diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-12-23 05:04:30 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:33 +0200 |
commit | b1fd23df1deda45a408d007aa0b105569d12b907 (patch) | |
tree | 152537cbb9cb393a0ecb3ab38ecbe8343326ce39 /fs/bcachefs/dirent.h | |
parent | bcachefs: bch2_trans_reset() calls should be at the tops of loops (diff) | |
download | linux-b1fd23df1deda45a408d007aa0b105569d12b907.tar.xz linux-b1fd23df1deda45a408d007aa0b105569d12b907.zip |
bcachefs: Convert all bch2_trans_commit() users to BTREE_INSERT_ATOMIC
BTREE_INSERT_ATOMIC should really be the default mode, and there's not
that much code that doesn't need it - so this is prep work for getting
rid of the flag.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/dirent.h')
-rw-r--r-- | fs/bcachefs/dirent.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/dirent.h b/fs/bcachefs/dirent.h index e6184dc796d3..34769371dd13 100644 --- a/fs/bcachefs/dirent.h +++ b/fs/bcachefs/dirent.h @@ -36,8 +36,6 @@ int bch2_dirent_create(struct btree_trans *, u64, int bch2_dirent_delete_at(struct btree_trans *, const struct bch_hash_info *, struct btree_iter *); -int bch2_dirent_delete(struct bch_fs *, u64, const struct bch_hash_info *, - const struct qstr *, u64 *); enum bch_rename_mode { BCH_RENAME, |