raid5: delete unnecessary warnning
authorShaohua Li <shli@fb.com>
Fri, 29 Apr 2016 21:18:03 +0000 (14:18 -0700)
committerShaohua Li <shli@fb.com>
Fri, 29 Apr 2016 21:18:03 +0000 (14:18 -0700)
commitb8a0b8e94648179b92191e5cf4fd3c4379b31cc4
tree9c44d89fcdb00e7c2c7b4fd3c84565d4c7e775a6
parent9c573de3283af007ea11c17bde1e4568d9417328
raid5: delete unnecessary warnning

If device has R5_LOCKED set, it's legit device has R5_SkipCopy set and page !=
orig_page. After R5_LOCKED is clear, handle_stripe_clean_event will clear the
SkipCopy flag and set page to orig_page. So the warning is unnecessary.

Reported-by: Joey Liao <joeyliao@qnap.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c