]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
md: use lockdep_assert_held
authorShaohua Li <shli@fb.com>
Thu, 19 Oct 2017 05:08:13 +0000 (22:08 -0700)
committerShaohua Li <shli@fb.com>
Thu, 2 Nov 2017 04:32:22 +0000 (21:32 -0700)
commitefa4b77b00b56138fb7e68d2fe8fd1b3c15cd503
treeb7b1b88aa4aacba1811efe5d495733008622b484
parentf6eca2d43ed694ab8124dd24c88277f7eca93b7d
md: use lockdep_assert_held

lockdep_assert_held is a better way to assert lock held, and it works
for UP.

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