From: Omar Sandoval Date: Thu, 26 Jan 2017 01:06:40 +0000 (-0800) Subject: Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations X-Git-Tag: MMI-PSA29.97-13-9~6241^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57b59ed2e5b91e958843609c7884794e29e6c4cb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations Subvolume directory inodes can't have ACLs. Cc: # 4.9.x Signed-off-by: Omar Sandoval Reviewed-by: David Sterba Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 16694325a449..8a8e719778bd 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -10592,8 +10592,6 @@ static const struct inode_operations btrfs_dir_inode_operations = { static const struct inode_operations btrfs_dir_ro_inode_operations = { .lookup = btrfs_lookup, .permission = btrfs_permission, - .get_acl = btrfs_get_acl, - .set_acl = btrfs_set_acl, .update_time = btrfs_update_time, };