From: Miao Xie Date: Thu, 20 Feb 2014 10:08:57 +0000 (+0800) Subject: Btrfs: stop joining the log transaction if sync log fails X-Git-Tag: v3.15-rc1~96^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50471a388cf011523f3bf91d275ec3f30669f0ee;p=pandora-kernel.git Btrfs: stop joining the log transaction if sync log fails If the log sync fails, there is something wrong in the log tree, we should not continue to join the log transaction and log the metadata. What we should do is to do a full commit. This patch fixes this problem by setting ->last_trans_log_full_commit to the current transaction id, it will tell the tasks not to join the log transaction, and do a full commit. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed