aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/xattr.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <crosslonelyover@gmail.com>2011-01-10 12:10:37 -0500
committerTheodore Ts'o <tytso@mit.edu>2011-01-10 12:10:37 -0500
commit1f605b302724120777a1c38743cb20e2c8807333 (patch)
tree2f7379c758573718f68da2c045e57e3164ea421a /fs/ext2/xattr.c
parent6e9510b0e0de657ca7c7bfb10ced80b4d237dd58 (diff)
ext2: remove dead code in ext2_xattr_get
Reviewed-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Wang Sheng-Hui <crosslonelyover@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext2/xattr.c')
-rw-r--r--fs/ext2/xattr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index f3ffbf1cc8d0..c2e4dce984d2 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -199,14 +199,6 @@ bad_block: ext2_error(inode->i_sb, "ext2_xattr_get",
199 goto found; 199 goto found;
200 entry = next; 200 entry = next;
201 } 201 }
202 /* Check the remaining name entries */
203 while (!IS_LAST_ENTRY(entry)) {
204 struct ext2_xattr_entry *next =
205 EXT2_XATTR_NEXT(entry);
206 if ((char *)next >= end)
207 goto bad_block;
208 entry = next;
209 }
210 if (ext2_xattr_cache_insert(bh)) 202 if (ext2_xattr_cache_insert(bh))
211 ea_idebug(inode, "cache insert failed"); 203 ea_idebug(inode, "cache insert failed");
212 error = -ENODATA; 204 error = -ENODATA;