diff options
author | NeilBrown | 2007-01-26 09:57:02 +0100 |
---|---|---|
committer | Linus Torvalds | 2007-01-26 22:50:59 +0100 |
commit | 1031be7a5fafd3a858dfaabb74d98f9ca20744a8 (patch) | |
tree | b111bc6880571e3ad0720da828a029ecae066c8a /fs/9p/mux.c | |
parent | [PATCH] md: make 'repair' actually work for raid1 (diff) | |
download | kernel-qcow2-linux-1031be7a5fafd3a858dfaabb74d98f9ca20744a8.tar.gz kernel-qcow2-linux-1031be7a5fafd3a858dfaabb74d98f9ca20744a8.tar.xz kernel-qcow2-linux-1031be7a5fafd3a858dfaabb74d98f9ca20744a8.zip |
[PATCH] md: make sure the events count in an md array never returns to zero
Now that we sometimes step the array events count backwards (when
transitioning dirty->clean where nothing else interesting has happened - so
that we don't need to write to spares all the time), it is possible for the
event count to return to zero, which is potentially confusing and triggers and
MD_BUG.
We could possibly remove the MD_BUG, but is just as easy, and probably safer,
to make sure we never return to zero.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/9p/mux.c')
0 files changed, 0 insertions, 0 deletions