MD: fix warnning for UP case
authorShaohua Li <shli@fb.com>
Tue, 25 Jul 2017 22:18:13 +0000 (15:18 -0700)
committerShaohua Li <shli@fb.com>
Tue, 25 Jul 2017 22:18:13 +0000 (15:18 -0700)
commited9b66d21866ae3bf16557406258ebe6c00a9a84
tree28f0932ec4d1a83213144575ce3f86feda169572
parent7e96d559634b73a8158ee99a7abece2eacec2668
MD: fix warnning for UP case

spin_is_locked always returns 0 for UP case, so ignores it

Reported-by: Joshua Kinard <kumba@gentoo.org>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c