aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kunit/string-stream-test.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2023-12-15 15:01:44 +0000
committerDavid Sterba <[email protected]>2023-12-15 22:46:51 +0000
commita8892fd71933126ebae3d60aec5918d4dceaae76 (patch)
tree83aab9853117ef3cbfa618fd214c4429b672ef3a /lib/kunit/string-stream-test.c
parentbtrfs: ensure releasing squota reserve on head refs (diff)
downloadkernel-a8892fd71933126ebae3d60aec5918d4dceaae76.tar.gz
kernel-a8892fd71933126ebae3d60aec5918d4dceaae76.zip
btrfs: do not allow non subvolume root targets for snapshot
Our btrfs subvolume snapshot <source> <destination> utility enforces that <source> is the root of the subvolume, however this isn't enforced in the kernel. Update the kernel to also enforce this limitation to avoid problems with other users of this ioctl that don't have the appropriate checks in place. Reported-by: Martin Michaelis <[email protected]> CC: [email protected] # 4.14+ Reviewed-by: Neal Gompa <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/kunit/string-stream-test.c')
0 files changed, 0 insertions, 0 deletions