]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: allow idmapped create inode op
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 27 Jul 2021 10:48:45 +0000 (12:48 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:13 +0000 (13:19 +0200)
commit2edcf44928dedd49411d6171fd02d927d51bb1d6
treeaa693eb9b718f855fb3d15846cf8e3d3994c0eec
parente57b73c9d8fd96f1c7fb56fe8289c98880803c4b
btrfs: allow idmapped create inode op

Enable btrfs_create() to handle idmapped mounts. This is just a matter
of passing down the mount's userns.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c