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

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