mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ext4: error should be cleared if ea_inode isn't added to the cache
For Lustre, if ea_inode fails in hash validation but passes parent
inode and generation checks, it won't be added to the cache as well
as the error "-EFSCORRUPTED" should be cleared, otherwise it will
cause "Structure needs cleaning" when running getfattr command.
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9723
Cc: [email protected]
Fixes: dec214d00e
Signed-off-by: Emoly Liu <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: [email protected]
This commit is contained in:
parent
a3bb2d5587
commit
191eac3300
1 changed files with 1 additions and 0 deletions
|
|
@ -451,6 +451,7 @@ ext4_xattr_inode_get(struct inode *inode, struct ext4_xattr_entry *entry,
|
|||
}
|
||||
/* Do not add ea_inode to the cache. */
|
||||
ea_inode_cache = NULL;
|
||||
err = 0;
|
||||
} else if (err)
|
||||
goto out;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue