Skip to content
Commit 8b2c0dba authored by Tao Ma's avatar Tao Ma Committed by Joel Becker
Browse files

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: default avatarTao Ma <tao.ma@oracle.com>
parent 0129241e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment