Skip to content

Commit ea9b5ee

Browse files
committed
Merge tag 'gfs2-4.16.rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
Pull gfs2 fix from Bob Peterson: "An additional patch from Andreas Gruenbacher that fixes another unfortunate GFS2 regression" * tag 'gfs2-4.16.rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: gfs2: Fixes to "Implement iomap for block_map" (2)
2 parents 69f39c5 + 3b5da96 commit ea9b5ee

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fs/gfs2/bmap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -807,9 +807,6 @@ int gfs2_iomap_begin(struct inode *inode, loff_t pos, loff_t length,
807807
iomap->length = hole_size(inode, lblock, &mp);
808808
else
809809
iomap->length = size - pos;
810-
} else {
811-
if (height <= ip->i_height)
812-
iomap->length = hole_size(inode, lblock, &mp);
813810
}
814811
goto out_release;
815812
}

0 commit comments

Comments
 (0)