aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorBoris Burkov <[email protected]>2024-01-11 01:51:26 +0000
committerDavid Sterba <[email protected]>2024-01-31 07:42:44 +0000
commit0c309d66dacddf8ce939b891d9ead4a8e21ad6f0 (patch)
tree96e92fd2d56db9332cbc07a8b7d71212db52be1b /fs/btrfs/dev-replace.c
parentbtrfs: send: return EOPNOTSUPP on unknown flags (diff)
downloadkernel-0c309d66dacddf8ce939b891d9ead4a8e21ad6f0.tar.gz
kernel-0c309d66dacddf8ce939b891d9ead4a8e21ad6f0.zip
btrfs: forbid creating subvol qgroups
Creating a qgroup 0/subvolid leads to various races and it isn't helpful, because you can't specify a subvol id when creating a subvol, so you can't be sure it will be the right one. Any requirements on the automatic subvol can be gratified by using a higher level qgroup and the inheritance parameters of subvol creation. Fixes: cecbb533b5fc ("btrfs: record simple quota deltas in delayed refs") CC: [email protected] # 4.14+ Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Boris Burkov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions