diff options
author | Omar Sandoval <osandov@fb.com> | 2017-01-25 17:06:40 -0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2017-01-26 15:48:56 -0800 |
commit | 57b59ed2e5b91e958843609c7884794e29e6c4cb (patch) | |
tree | 9792319104bb348ec6dd7aa43a40930fbbfdeb88 /fs | |
parent | 1fdf41941b8010691679638f8d0c8d08cfee7726 (diff) | |
download | linux-stable-57b59ed2e5b91e958843609c7884794e29e6c4cb.tar.gz linux-stable-57b59ed2e5b91e958843609c7884794e29e6c4cb.tar.bz2 linux-stable-57b59ed2e5b91e958843609c7884794e29e6c4cb.zip |
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: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, }; |