ocfs2: Free block to the right block group.
authorTao Ma <tao.ma@oracle.com>
Mon, 22 Mar 2010 06:20:18 +0000 (14:20 +0800)
committerTao Ma <tao.ma@oracle.com>
Mon, 22 Mar 2010 06:20:18 +0000 (14:20 +0800)
commit74380c479ad83addeff8a172ab95f59557b5b0c3
tree49b94f3ff48cd2ca6b53977a5e3070380ccecd6b
parentaf2bf0d86019e0b0306965321096f8380b7ca830
ocfs2: Free block to the right block group.

In case the block we are going to free is allocated from
a discontiguous block group, we have to use suballoc_loc
to be the right group.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h
fs/ocfs2/dir.c
fs/ocfs2/refcounttree.c
fs/ocfs2/suballoc.c
fs/ocfs2/xattr.c