dir: Fix DRead
authorAndrew Deason <adeason@sinenomine.net>
Tue, 21 Jun 2011 23:33:16 +0000 (18:33 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 22 Jun 2011 05:15:09 +0000 (22:15 -0700)
commit9f8757650c8985785f0934bead2314a2acff21e1
treebd5ff128150dd285ba002a9c09cc12b15978e61c
parent25688bc2e7e8da83b4bf22d7cdc3e0214eadc455
dir: Fix DRead

DRead was missing a return statement in one of the cases where we
found the buffer we were looking for, so we locked the buffer but kept
looking. Return it instead.

Change-Id: If72a0ba3ce60a847f2796b51a82f0f473bbc608a
Reviewed-on: http://gerrit.openafs.org/4877
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/dir/buffer.c