mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ext2: remove dead code in ext2_xattr_get
Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Wang Sheng-Hui <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
This commit is contained in:
parent
6e9510b0e0
commit
1f605b3027
1 changed files with 0 additions and 8 deletions
|
|
@ -199,14 +199,6 @@ bad_block: ext2_error(inode->i_sb, "ext2_xattr_get",
|
|||
goto found;
|
||||
entry = next;
|
||||
}
|
||||
/* Check the remaining name entries */
|
||||
while (!IS_LAST_ENTRY(entry)) {
|
||||
struct ext2_xattr_entry *next =
|
||||
EXT2_XATTR_NEXT(entry);
|
||||
if ((char *)next >= end)
|
||||
goto bad_block;
|
||||
entry = next;
|
||||
}
|
||||
if (ext2_xattr_cache_insert(bh))
|
||||
ea_idebug(inode, "cache insert failed");
|
||||
error = -ENODATA;
|
||||
|
|
|
|||
Loading…
Reference in a new issue