From: Miao Xie Date: Mon, 26 Nov 2012 08:42:07 +0000 (+0000) Subject: Btrfs: fix wrong return value of btrfs_wait_for_commit() X-Git-Tag: v3.8-rc1~71^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd2807f79b73ef2d8c1cb6b3732dc5758ac7212;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed