Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57b59ed2 authored by Omar Sandoval's avatar Omar Sandoval Committed by Chris Mason
Browse files

Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations



Subvolume directory inodes can't have ACLs.

Cc: <stable@vger.kernel.org> # 4.9.x
Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 1fdf4194
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -10592,8 +10592,6 @@ static const struct inode_operations btrfs_dir_inode_operations = {
static const struct inode_operations btrfs_dir_ro_inode_operations = {
static const struct inode_operations btrfs_dir_ro_inode_operations = {
	.lookup		= btrfs_lookup,
	.lookup		= btrfs_lookup,
	.permission	= btrfs_permission,
	.permission	= btrfs_permission,
	.get_acl	= btrfs_get_acl,
	.set_acl	= btrfs_set_acl,
	.update_time	= btrfs_update_time,
	.update_time	= btrfs_update_time,
};
};