diff options
-rw-r--r-- | fs/ext4/extents.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index c53d5a8d2a79..2a2eef9c14e4 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -912,13 +912,6 @@ ext4_find_extent(struct inode *inode, ext4_lblk_t block, | |||
912 | 912 | ||
913 | eh = ext_block_hdr(bh); | 913 | eh = ext_block_hdr(bh); |
914 | ppos++; | 914 | ppos++; |
915 | if (unlikely(ppos > depth)) { | ||
916 | put_bh(bh); | ||
917 | EXT4_ERROR_INODE(inode, | ||
918 | "ppos %d > depth %d", ppos, depth); | ||
919 | ret = -EFSCORRUPTED; | ||
920 | goto err; | ||
921 | } | ||
922 | path[ppos].p_bh = bh; | 915 | path[ppos].p_bh = bh; |
923 | path[ppos].p_hdr = eh; | 916 | path[ppos].p_hdr = eh; |
924 | } | 917 | } |