]> git.baikalelectronics.ru Git - kernel.git/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)
commit7ea88a0a235aa6cd54b64011aa6f7c50d9c6861b
tree3013a6e873a6e0a1d55fbace2fba638a978108c0
parent6fd1f8c14038152a43e0e23be10a73f111c76094
[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