]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove unused mnt_userns parameter from __btrfs_set_acl
authorOmar Sandoval <osandov@fb.com>
Thu, 10 Mar 2022 01:31:38 +0000 (17:31 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:06 +0000 (17:03 +0200)
commit54142e76032ddc60349e32b76cce45307f32afaf
tree792a0e0f18d5c0c08d35f6343535d09f0efda3df
parent5672ed0dbdb9610d26ba3d8c7b0133a331fb6c5c
btrfs: remove unused mnt_userns parameter from __btrfs_set_acl

Commit fd899cf0af26 ("btrfs: handle ACLs on idmapped mounts") added this
parameter but didn't use it. __btrfs_set_acl() is the low-level helper
that writes an ACL to disk. The higher-level btrfs_set_acl() is the one
that translates the ACL based on the user namespace.

Reviewed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/acl.c