From: Tao Ma Date: Thu, 4 Dec 2008 22:20:54 +0000 (+0800) Subject: ocfs2/xattr: Remove extend_trans call and add its credits from the beginning X-Git-Tag: v2.6.29-rc1~505^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71d548a6af36fe98c95fbd0522147f842bd5f054;p=pandora-kernel.git ocfs2/xattr: Remove extend_trans call and add its credits from the beginning Actually, when setting a new xattr value, we know it from the very beginning, and it isn't like the extension of bucket in which case we can't figure it out. So remove ocfs2_extend_trans in that function and calculate it before the transaction. It also relieve acl operation from the worry about the side effect of ocfs2_extend_trans. Signed-off-by: Tao Ma Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed