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)
commit75b993cf43052c76d067628d67ae2746400b504f
tree792a0e0f18d5c0c08d35f6343535d09f0efda3df
parentc51fa51190f9909c5cb9bbdddb1ad845d6e71a33
btrfs: remove unused mnt_userns parameter from __btrfs_set_acl

Commit 4a8b34afa9c9 ("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