diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-09 22:04:50 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-14 02:22:24 +0100 |
commit | 56e230473d395c953cfab78b876fcf0f62b455b1 (patch) | |
tree | a3b4d390728447bd11b8fe4b8d622a4d36e1dffc /fs/bcachefs/dirent.h | |
parent | bcachefs: check_path() now prints full inode when reattaching (diff) | |
download | linux-56e230473d395c953cfab78b876fcf0f62b455b1.tar.xz linux-56e230473d395c953cfab78b876fcf0f62b455b1.zip |
bcachefs: Correctly reattach subvolumes
Subvolumes need special handling to reattach - we always reattach them
in the root subvolume's lost+found, and they need a slightly different
kind of dirent.
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, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/dirent.h b/fs/bcachefs/dirent.h index 1cd033fbc58a..bee55cca2aa0 100644 --- a/fs/bcachefs/dirent.h +++ b/fs/bcachefs/dirent.h @@ -35,7 +35,7 @@ static inline unsigned dirent_val_u64s(unsigned len) int bch2_dirent_read_target(struct btree_trans *, subvol_inum, struct bkey_s_c_dirent, subvol_inum *); -int bch2_dirent_create_snapshot(struct btree_trans *, u64, u32, +int bch2_dirent_create_snapshot(struct btree_trans *, u32, u64, u32, const struct bch_hash_info *, u8, const struct qstr *, u64, u64 *, bch_str_hash_flags_t); |