aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-01-22 12:15:47 -0500
committerMister Oyster <oysterized@gmail.com>2017-05-27 19:39:51 +0200
commita43d14a3d5ca47ccce5d64a7704f5fe528237f84 (patch)
treeb9ca88b492ef25d4fed9f9e5c97a6a3154caad2e /fs/ext4/inode.c
parent7d6942dac23aa52a8f213a788982c4e649ca016b (diff)
ext4: disable ext4 acl handling for 3.18 backport
The ACL code changes too much between 3.18 and 3.10; so disable acl handling so we don't have make things actually work. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 3356ab539..869fccf38 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4578,8 +4578,11 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
if (orphan && inode->i_nlink)
ext4_orphan_del(NULL, inode);
+#ifdef CONFIG_EXT4_FS_POSIX_ACL
+#error POSIX_ACL not supported in 3.18 backport
if (!rc && (ia_valid & ATTR_MODE))
rc = posix_acl_chmod(inode, inode->i_mode);
+#endif
err_out:
ext4_std_error(inode->i_sb, error);