bcachefs: Fix quota support for snapshots
Quota support was disabled when snapshots were released, because of some
tricky interactions with snpashots. We're sidestepping that for now -
we're simply disabling quota accounting on snapshot subvolumes.
Signed-off-by:
Kent Overstreet <kent.overstreet@gmail.com>
Showing
- fs/bcachefs/fs.c 20 additions, 8 deletionsfs/bcachefs/fs.c
- fs/bcachefs/fs.h 6 additions, 0 deletionsfs/bcachefs/fs.h
- fs/bcachefs/opts.h 6 additions, 6 deletionsfs/bcachefs/opts.h
- fs/bcachefs/quota.c 53 additions, 16 deletionsfs/bcachefs/quota.c
- fs/bcachefs/subvolume.c 9 additions, 0 deletionsfs/bcachefs/subvolume.c
- fs/bcachefs/subvolume.h 2 additions, 0 deletionsfs/bcachefs/subvolume.h
Please register or sign in to comment