]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2: Return allocated metadata blknos on the ocfs2_suballoc_result.
authorJoel Becker <joel.becker@oracle.com>
Fri, 26 Mar 2010 02:08:59 +0000 (10:08 +0800)
committerTao Ma <tao.ma@oracle.com>
Fri, 26 Mar 2010 02:08:59 +0000 (10:08 +0800)
commitba2066351b630f0205ebf725f5c81a2a07a77cd7
tree033395fc2b1679cc17fa72751e7f1837d42aee69
parent1ed9b777f77929ae961d6f9cdf828a07200ba71c
ocfs2: Return allocated metadata blknos on the ocfs2_suballoc_result.

Rather than calculating the resulting block number, return it on the
ocfs2_suballoc_result structure.  This way we can calculate block
numbers for discontiguous block groups.

Cluster groups keep doing it the old way.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/suballoc.c