diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-09-01 08:45:18 +0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 16:57:06 -0700 |
commit | 28b8ca0b7f70b1b048d03dc0b9d87f58619e9791 (patch) | |
tree | 24e581b6bc0d8a71c528b3f15b081712714e291e /fs/xfs/xfs_vnodeops.c | |
parent | 8d6220d6a74a33552cf877bcea25503d7f6a59e6 (diff) |
ocfs2: bug-fix for journal extend in xattr.
In ocfs2_extend_trans, when we can't extend the current
transaction, it will commit current transaction and restart
a new one. So if the previous credits we have allocated aren't
used(the block isn't dirtied before our extend), we will not
have enough credits for any future operation(it will cause jbd
complain and bug out). So check this and re-extend it.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
0 files changed, 0 insertions, 0 deletions