• T
    ocfs2: bug-fix for journal extend in xattr. · 28b8ca0b
    Tao Ma 提交于
    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: NTao Ma <tao.ma@oracle.com>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    28b8ca0b
xattr.c 121.9 KB