[Cluster-devel] [PATCH] gfs2: Fixes to "Implement iomap for block_map" (2)

Bob Peterson rpeterso at redhat.com
Mon Mar 5 13:51:58 UTC 2018


----- Original Message -----
| It turns out that commit 3229c18c0d6b2 'Fixes to "Implement iomap for
| block_map"' introduced another bug in gfs2_iomap_begin that can cause
| gfs2_block_map to set bh->b_size of an actual buffer to 0.  This can
| lead to arbitrary incorrect behavior including crashes or disk
| corruption.  Revert the incorrect part of that commit.
| 
| Signed-off-by: Andreas Gruenbacher <agruenba at redhat.com>
| ---

Hi,

Thanks. This is now pushed to the for-next branch of the linux-gfs2 tree:
https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=dc49cacbdc4eecae05713c03e3ab6ac0b7c06c1c

Regards,

Bob Peterson
Red Hat File Systems




More information about the Cluster-devel mailing list