Skip to content
Commit addc3fa7 authored by Miao Xie's avatar Miao Xie Committed by Chris Mason
Browse files

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: default avatarMiao Xie <miaox@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent d5ee37bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment