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

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