OSDN Git Service

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)
commit1c06b9126130aa4a917bba81c39579ed08a67b4e
tree553ebd98601d3edcae182002f72246a04094d9c6
parent202ee5facb2c55f36a4324a4f56d8bdf3617a579
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