From: Miao Xie Date: Thu, 24 Jul 2014 03:37:11 +0000 (+0800) Subject: Btrfs: Fix the problem that the dirty flag of dev stats is cleared X-Git-Tag: fixes-against-v3.18-rc2~120^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=addc3fa74e5bcfabc0766f934a8895d1f9f6a67c;p=pandora-kernel.git Btrfs: Fix the problem that the dirty flag of dev stats is cleared The io error might happen during writing out the device stats, and the device stats information and dirty flag would be update at that time, but the current code didn't consider this case, just clear the dirty flag, it would cause that we forgot to write out the new device stats information. Fix it. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed