diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-09 16:04:50 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:24 -0400 |
commit | 56e230473d395c953cfab78b876fcf0f62b455b1 (patch) | |
tree | a3b4d390728447bd11b8fe4b8d622a4d36e1dffc /fs/bcachefs/dirent.h | |
parent | 3a136177f3a7929ca1ae3712267548ac4a668cf8 (diff) | |
download | linux-stable-56e230473d395c953cfab78b876fcf0f62b455b1.tar.gz linux-stable-56e230473d395c953cfab78b876fcf0f62b455b1.tar.bz2 linux-stable-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); |