diff options
author | NeilBrown | 2008-10-13 02:55:12 +0200 |
---|---|---|
committer | NeilBrown | 2008-10-13 02:55:12 +0200 |
commit | 80268ee9270ebe4847365a7426de91d179e870d0 (patch) | |
tree | 0f5d10d1cc86b64030d036e6e322b23caf6aec5c /kernel/sched_cpupri.h | |
parent | md: Allow metadata_version to be updated for externally managed metadata. (diff) | |
download | kernel-qcow2-linux-80268ee9270ebe4847365a7426de91d179e870d0.tar.gz kernel-qcow2-linux-80268ee9270ebe4847365a7426de91d179e870d0.tar.xz kernel-qcow2-linux-80268ee9270ebe4847365a7426de91d179e870d0.zip |
md: Don't try to set an array to 'read-auto' if it is already in that state.
'read-auto' is a variant of 'readonly' which will switch to writable
on the first write attempt.
Calling do_md_stop to set the array readonly when it is already readonly
returns an error. So make sure not to do that.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'kernel/sched_cpupri.h')
0 files changed, 0 insertions, 0 deletions