mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -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
|
|
@ -2122,10 +2122,8 @@ static void btrfs_read_locked_inode(struct inode *inode)
|
|||
* any xattrs or acls
|
||||
*/
|
||||
maybe_acls = acls_after_inode_item(leaf, path->slots[0], inode->i_ino);
|
||||
if (!maybe_acls) {
|
||||
inode->i_acl = NULL;
|
||||
inode->i_default_acl = NULL;
|
||||
}
|
||||
if (!maybe_acls)
|
||||
cache_no_acl(inode);
|
||||
|
||||
BTRFS_I(inode)->block_group = btrfs_find_block_group(root, 0,
|
||||
alloc_group_block, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue