Whamcloud - gitweb
b=1852
authorphil <phil>
Thu, 9 Oct 2003 19:18:20 +0000 (19:18 +0000)
committerphil <phil>
Thu, 9 Oct 2003 19:18:20 +0000 (19:18 +0000)
commit27b09e79487d8a51ac4af3622d21f62e02d81571
treefc65cf253e7eb41cdc851225f962d77a9fbfc8da
parent6caa909fd9e45acb6d73afb9a18980d6baecfe66
b=1852
If we leave revalidate_it by returning 0, thus causing a lookup_it call which
re-uses the same request, then we shouldn't drop our reference on the request.

In the past, we accounted for this by doing an addref in mdc_intent_lock in the
-ESTALE case, but this was wrong.  That was just one of many ways that we can
leave revalidate and enter lookup, and this patch fixes that whole class of
erroneous decrefs.
lustre/tests/replay-single.sh