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

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