mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Get "no acls for this inode" right, fix shmem breakage
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
641cf4a668
commit
72c04902d1
4 changed files with 13 additions and 10 deletions
|
|
@ -284,8 +284,7 @@ int jffs2_init_acl_pre(struct inode *dir_i, struct inode *inode, int *i_mode)
|
|||
struct posix_acl *acl, *clone;
|
||||
int rc;
|
||||
|
||||
inode->i_default_acl = NULL;
|
||||
inode->i_acl = NULL;
|
||||
cache_no_acl(inode);
|
||||
|
||||
if (S_ISLNK(*i_mode))
|
||||
return 0; /* Symlink always has no-ACL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue