]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2: Set suballoc_loc on allocated metadata.
authorJoel Becker <joel.becker@oracle.com>
Fri, 26 Mar 2010 02:09:15 +0000 (10:09 +0800)
committerTao Ma <tao.ma@oracle.com>
Fri, 26 Mar 2010 02:09:15 +0000 (10:09 +0800)
commit2b6cb576aa80611f1f6a3c88708d1e68a8d97985
treea984f09104970133379e4d370b9f01e7f85c6f9b
parentba2066351b630f0205ebf725f5c81a2a07a77cd7
ocfs2: Set suballoc_loc on allocated metadata.

Get the suballoc_loc from ocfs2_claim_new_inode() or
ocfs2_claim_metadata().  Store it on the appropriate field of the block
we just allocated.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/dir.c
fs/ocfs2/namei.c
fs/ocfs2/refcounttree.c
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h
fs/ocfs2/xattr.c