Whamcloud - gitweb
Use spin_lock_nested() in (the only) situation where more than one ldlm_lock
authornikita <nikita>
Sat, 18 Oct 2008 15:38:15 +0000 (15:38 +0000)
committernikita <nikita>
Sat, 18 Oct 2008 15:38:15 +0000 (15:38 +0000)
commit9a02674a149077dcfd0323ebd689b4cd05ddec95
tree2f40393a2428e785ba76acf9b51b10c5eaebd70b
parentab0a7f4e1797317a6f0f76fe16cf35d3e908a307
Use spin_lock_nested() in (the only) situation where more than one ldlm_lock
is locked simultaneously. Also, fix possible dead-lock in
ldlm_lock_change_resource() by enforcing particular lock ordering.
b=16450
lustre/ChangeLog
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_lock.c