diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-12-05 06:20:54 +0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 08:40:36 -0800 |
commit | 71d548a6af36fe98c95fbd0522147f842bd5f054 (patch) | |
tree | 196202d8fcc0ce03baa4c3d181cfbf0090392497 /kernel/cpu.c | |
parent | 7b791d68562e4ce5ab57cbacb10a1ad4ee33956e (diff) |
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 <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions