]> git.baikalelectronics.ru Git - kernel.git/commit
Ocfs2/move_extents: find the victim alloc group, where the given #blk fits.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 18 Mar 2011 06:35:35 +0000 (14:35 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Wed, 25 May 2011 07:17:10 +0000 (15:17 +0800)
commitd1ebeb1e38deb7aadb4af175138a44c66efd0dfe
tree553ebd98601d3edcae182002f72246a04094d9c6
parentcb2d0b9ad00a3b98fdb07dffb09a4918be20f071
Ocfs2/move_extents: find the victim alloc group, where the given #blk fits.

This function tries locate the right alloc group, where a given physical block
resides, it returns the caller a buffer_head of victim group descriptor, and also
the offset of block in this group, by passing the block number.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
fs/ocfs2/move_extents.c