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

Enable btrfs_mknod() 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