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)
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

Simple merge