summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/suballoc.h
diff options
context:
space:
mode:
authorTao Ma2008-09-01 02:45:18 +0200
committerMark Fasheh2008-10-14 01:57:06 +0200
commit28b8ca0b7f70b1b048d03dc0b9d87f58619e9791 (patch)
tree24e581b6bc0d8a71c528b3f15b081712714e291e /fs/ocfs2/suballoc.h
parentocfs2: Change ocfs2_get_*_extent_tree() to ocfs2_init_*_extent_tree() (diff)
downloadkernel-qcow2-linux-28b8ca0b7f70b1b048d03dc0b9d87f58619e9791.tar.gz
kernel-qcow2-linux-28b8ca0b7f70b1b048d03dc0b9d87f58619e9791.tar.xz
kernel-qcow2-linux-28b8ca0b7f70b1b048d03dc0b9d87f58619e9791.zip
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/ocfs2/suballoc.h')
0 files changed, 0 insertions, 0 deletions