Btrfs: fix wrong return value of btrfs_wait_for_commit()
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 26 Nov 2012 08:42:07 +0000 (08:42 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:08 +0000 (20:46 -0500)
If the id of the existed transaction is more than the one we specified, it
means the specified transaction was commited, so we should return 0, not
EINVAL.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>

No differences found