btrfs: fix btrfs_mkdir goto for no free objectids
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 11 Feb 2010 08:06:58 +0000 (08:06 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 15 Mar 2010 15:00:11 +0000 (11:00 -0400)
commit0be2e98173f8badd5ccc7c2e994891746ba1caf4
tree97a8faa272d05e543ac8b26b0a4c6705ababb0c6
parent0bdb1db297ab36865a63ee722d35ff0a1f0ae522
btrfs: fix btrfs_mkdir goto for no free objectids

btrfs_mkdir() must jump to the place of ending transaction after
btrfs_find_free_objectid() failed. Or this transaction can't end.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c