summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-21 05:44:17 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-21 19:27:10 +0100
commit12207f49ef41d5599fb313d103f2c7b485848c9d (patch)
tree33e815bd10a4b293415b28bd10e202f6e1477764 /fs
parentbcachefs: bch_snapshot::btime (diff)
downloadlinux-12207f49ef41d5599fb313d103f2c7b485848c9d.tar.xz
linux-12207f49ef41d5599fb313d103f2c7b485848c9d.zip
bcachefs: comment bch_subvolume
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/bcachefs_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index a76036179238..6abd19cdbfcf 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -1123,6 +1123,9 @@ struct bch_subvolume {
* Snapshot subvolumes form a tree, separate from the snapshot nodes
* tree - if this subvolume is a snapshot, this is the ID of the
* subvolume it was created from:
+ *
+ * This is _not_ necessarily the subvolume of the directory containing
+ * this subvolume:
*/
__le32 parent;
__le32 pad;