Skip to content
Commit b8d966ef authored by NeilBrown's avatar NeilBrown
Browse files

md: avoid dereferencing NULL pointer when accessing suspend_* sysfs attributes.



If we try to modify one of the md/ sysfs files
  suspend_lo or suspend_hi
when the array is not active, we dereference a NULL.
Protect against that.

Cc: stable@kernel.org
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 8f6c2e4b
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