aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2021-07-27 12:48:52 +0200
committerDavid Sterba <[email protected]>2021-08-23 13:19:14 +0200
commit4d4340c912ccc351da5578f73c68f1109dcc8e2d (patch)
tree420c14a486646beff24cd18f199a7ae3eae0ad93 /lib/test_overflow.c
parent5474bf400f16bd1f930627ea65b698bca09dcfc6 (diff)
btrfs: allow idmapped SNAP_CREATE/SUBVOL_CREATE ioctls
Creating subvolumes and snapshots is one of the core features of btrfs and is even available to unprivileged users. Make it possible to use subvolume and snapshot creation on idmapped mounts. This is a fairly straightforward operation since all the permission checking helpers are already capable of handling idmapped mounts. So we just need to pass down the mount's userns. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christian Brauner <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions