]> err.no Git - linux-2.6/commit
[GFS2] Fix bmap to map extents properly
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 13 Oct 2006 21:25:45 +0000 (17:25 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 20 Oct 2006 13:13:40 +0000 (09:13 -0400)
commit23591256d61354e20f12e98d7a496ad5c23de74c
tree3013a6e873a6e0a1d55fbace2fba638a978108c0
parent42fb00838a644d03f9a2a5fbbe0b668a5ff5df4d
[GFS2] Fix bmap to map extents properly

This fix means that bmap will map extents of the length requested
by the VFS rather than guessing at it, or just mapping one block
at a time. The other callers of gfs2_block_map are audited to ensure
they send the correct max extent lengths (i.e. set bh->b_size correctly).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/log.c
fs/gfs2/ops_address.c
fs/gfs2/quota.c
fs/gfs2/recovery.c