raid5-cache: fix lockdep warning
authorShaohua Li <shli@fb.com>
Thu, 17 Nov 2016 01:20:19 +0000 (17:20 -0800)
committerShaohua Li <shli@fb.com>
Thu, 17 Nov 2016 19:30:27 +0000 (11:30 -0800)
commit354b445b5f84f72e64cef9ffe175548e84c1a874
tree6ff85a9e66fc37c1a92fa21649b029133cd8dd8e
parent6119e6792bcaf926cb284098042a576c1a55b513
raid5-cache: fix lockdep warning

lockdep reports warning of the rcu_dereference usage. Using normal rdev
access pattern to avoid the warning.

Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5-cache.c