diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2015-01-22 12:15:47 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-27 19:39:51 +0200 |
| commit | a43d14a3d5ca47ccce5d64a7704f5fe528237f84 (patch) | |
| tree | b9ca88b492ef25d4fed9f9e5c97a6a3154caad2e | |
| parent | 7d6942dac23aa52a8f213a788982c4e649ca016b (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>
| -rw-r--r-- | fs/ext4/inode.c | 3 |
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); |
