Whamcloud - gitweb
b=2321
authorphil <phil>
Mon, 8 Dec 2003 15:22:47 +0000 (15:22 +0000)
committerphil <phil>
Mon, 8 Dec 2003 15:22:47 +0000 (15:22 +0000)
commita612021120d410ecc220f36117fc228aef90482c
treea87163b900a17393b1d4795dcd47a0b1dafd32e2
parentadc50668d425f17779c33025db9704bdca7a8bfa
b=2321
Fix two rare exit paths which will leak an l_lock() reference:
 - an allocation failure in ldlm_server_blocking_ast
 - an unlikely race condition in ldlm_resource_add_lock

I blame the latter for the problem reported in bug 2321.
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_resource.c