commit | addc3fa74e5bcfabc0766f934a8895d1f9f6a67c | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jul 24 11:37:11 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:37:46 2014 -0700 |
tree | eae6105559c9163b1800b5a5b7340a134d389bb5 | |
parent | d5ee37bcb1dff9c1d1cac5f7e5752309f1ff66b6 [diff] |
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 <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>