From: Miao Xie Date: Thu, 20 Feb 2014 10:08:52 +0000 (+0800) Subject: Btrfs: fix the skipped transaction commit during the file sync X-Git-Tag: v3.15-rc1~96^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48cab2e0714913a63155f800a55609a4ff6a36b9;p=pandora-kernel.git Btrfs: fix the skipped transaction commit during the file sync We may abort the wait earlier if ->last_trans_log_full_commit was set to the current transaction id, at this case, we need commit the current transaction instead of the log sub-transaction. But the current code didn't tell the caller to do it (return 0, not -EAGAIN). Fix it. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed