bcachefs: Add otime, parent to bch_subvolume
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 29 Mar 2023 15:18:59 +0000 (11:18 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:01 +0000 (17:10 -0400)
commit653693beea8ac93e57fc17afc7353bd158bcd5ff
tree491f81b1a48ef28e7fb117c9e96b0e2e606aae77
parent1c59b483a3d249e08f0dcff43d9b78851d216fc1
bcachefs: Add otime, parent to bch_subvolume

Add two new fields to bch_subvolume:
 - otime: creation time
 - parent: For snapshots, this is the id of the subvolume the snapshot
   was created from

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/subvolume.c
fs/bcachefs/subvolume.h