ocfs2/xattr: fix credits calculation during index create
authorTao Ma <tao.ma@oracle.com>
Thu, 4 Dec 2008 22:20:56 +0000 (06:20 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:36 +0000 (08:40 -0800)
commit90cb546cada68bb8c2278afdb4b65c2ac11f2877
tree68f70ca93bf16cd20fbb039fa17cd4d3828a7df7
parent4b3f6209bf9eec46fe5ebb168718fef5c443c157
ocfs2/xattr: fix credits calculation during index create

When creating a xattr index block, the old calculation forget
to add credits for the meta change of the alloc file. So add
more credits and more comments to explain it.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c