diff options
-rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index e2424bafd6fe..c3a1fa1398f5 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -5249,8 +5249,6 @@ ext4_ext_shift_path_extents(struct ext4_ext_path *path, ext4_lblk_t shift, | |||
5249 | return -EIO; | 5249 | return -EIO; |
5250 | 5250 | ||
5251 | ex_last = EXT_LAST_EXTENT(path[depth].p_hdr); | 5251 | ex_last = EXT_LAST_EXTENT(path[depth].p_hdr); |
5252 | if (!ex_last) | ||
5253 | return -EIO; | ||
5254 | 5252 | ||
5255 | err = ext4_access_path(handle, inode, path + depth); | 5253 | err = ext4_access_path(handle, inode, path + depth); |
5256 | if (err) | 5254 | if (err) |