ocfs2: Add support of decrementing refcount for delete.
authorTao Ma <tao.ma@oracle.com>
Tue, 18 Aug 2009 03:24:49 +0000 (11:24 +0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 23 Sep 2009 03:09:33 +0000 (20:09 -0700)
commit1823cb0b9fe5e6d48017ee3f92428f69c0235d87
tree461e5d6cc255c400acac69dd968fae935a9c073f
parente73a819db9c2d6c4065b7cab7374709b6939e8f1
ocfs2: Add support of decrementing refcount for delete.

    Given a physical cpos and length, decrement the refcount
in the tree. If the refcount for any portion of the extent goes
to zero, that portion is queued for freeing.

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