summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/inode.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-24 04:06:04 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-28 03:46:34 +0200
commit2a1df873463a28fe5a053d6245290f9a907a5a17 (patch)
tree989b637fe70873fd13c25348c3a9cd4d330a3b6b /fs/bcachefs/inode.h
parentbcachefs: assign return error when iterating through layout (diff)
downloadlinux-2a1df873463a28fe5a053d6245290f9a907a5a17.tar.xz
linux-2a1df873463a28fe5a053d6245290f9a907a5a17.zip
bcachefs: Add snapshot to bch_inode_unpacked
this allows for various cleanups in fsck Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h
index f1fcb4c58039..695abd707cb6 100644
--- a/fs/bcachefs/inode.h
+++ b/fs/bcachefs/inode.h
@@ -69,6 +69,7 @@ typedef u64 u96;
struct bch_inode_unpacked {
u64 bi_inum;
+ u32 bi_snapshot;
u64 bi_journal_seq;
__le64 bi_hash_seed;
u64 bi_size;