Skip to content

Commit 57b59ed

Browse files
osandovmasoncl
authored andcommitted
Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations
Subvolume directory inodes can't have ACLs. Cc: <[email protected]> # 4.9.x Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
1 parent 1fdf419 commit 57b59ed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/btrfs/inode.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10592,8 +10592,6 @@ static const struct inode_operations btrfs_dir_inode_operations = {
1059210592
static const struct inode_operations btrfs_dir_ro_inode_operations = {
1059310593
.lookup = btrfs_lookup,
1059410594
.permission = btrfs_permission,
10595-
.get_acl = btrfs_get_acl,
10596-
.set_acl = btrfs_set_acl,
1059710595
.update_time = btrfs_update_time,
1059810596
};
1059910597

0 commit comments

Comments
 (0)