Whamcloud - gitweb
ldlm_handle_convert was putting the lock immediately onto the conversion queue and
authorpschwan <pschwan>
Tue, 3 Sep 2002 21:15:19 +0000 (21:15 +0000)
committerpschwan <pschwan>
Tue, 3 Sep 2002 21:15:19 +0000 (21:15 +0000)
commit1654b5b4308a0676972ce1aef624b81ac310280c
tree0ca6e5e358887b977d73141634889e6155045079
parent4f35d4cf58b1ef878713742225559757b06c91b3
ldlm_handle_convert was putting the lock immediately onto the conversion queue and
then returning with flags=0, instead of flags=LDLM_FL_BLOCK_CONV.  Thus, the client
believed that the conversion had succeeded immediately, marked the lock accordingly,
and continued on its merry way, even if it didn't actually have the lock.
lustre/ldlm/ldlm_lock.c