From: Tao Ma Date: Tue, 18 Aug 2009 03:43:49 +0000 (+0800) Subject: ocfs2: Call refcount tree remove process properly. X-Git-Tag: v2.6.32-rc1~173^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b2c0dba5159570af5721d40490f6c529d721500;p=pandora-kernel.git ocfs2: Call refcount tree remove process properly. Now with xattr refcount support, we need to check whether we have xattr refcounted before we remove the refcount tree. Now the mechanism is: 1) Check whether i_clusters == 0, if no, exit. 2) check whether we have i_xattr_loc in dinode. if yes, exit. 2) Check whether we have inline xattr stored outside, if yes, exit. 4) Remove the tree. Signed-off-by: Tao Ma --- Reading git-diff-tree failed