commit | 8cd2807f79b73ef2d8c1cb6b3732dc5758ac7212 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Mon Nov 26 08:42:07 2012 +0000 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Dec 16 20:46:08 2012 -0500 |
tree | cc743e41c7cb92d900abeb2727e7df7c48dff4e7 | |
parent | ff7c1d33551862c86f7737fe88edc3e499d291e6 [diff] |
Btrfs: fix wrong return value of btrfs_wait_for_commit() 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>