diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2012-11-26 08:42:07 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-12-16 20:46:08 -0500 |
commit | 8cd2807f79b73ef2d8c1cb6b3732dc5758ac7212 (patch) | |
tree | cc743e41c7cb92d900abeb2727e7df7c48dff4e7 /fs/btrfs/extent-tree.c | |
parent | ff7c1d33551862c86f7737fe88edc3e499d291e6 (diff) | |
download | blackbird-op-linux-8cd2807f79b73ef2d8c1cb6b3732dc5758ac7212.tar.gz blackbird-op-linux-8cd2807f79b73ef2d8c1cb6b3732dc5758ac7212.zip |
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>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions