bcachefs: Fix quota support for snapshots
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 27 Oct 2021 17:05:56 +0000 (13:05 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:17 +0000 (17:09 -0400)
commit9ca4853b98af5fa15a2ddc47a45f8e103027f95d
tree28b8be8ce679f0b5503de7fa68d9b0f2c5483bc9
parentb44a66a64123efb3e6aebaa0cedec722ecbfbba4
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>
fs/bcachefs/fs.c
fs/bcachefs/fs.h
fs/bcachefs/opts.h
fs/bcachefs/quota.c
fs/bcachefs/subvolume.c
fs/bcachefs/subvolume.h