Skip to content
Commit 5c04f551 authored by Vasiliy Kulikov's avatar Vasiliy Kulikov Committed by NeilBrown
Browse files

md: check return code of read_sb_page



Function read_sb_page may return ERR_PTR(...). Check for it.

Signed-off-by: default avatarVasiliy Kulikov <segooon@gmail.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent db8d9d35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment