]> git.michaelhowe.org Git - packages/o/openafs.git/commit
LINUX: Check afs_lookup return code explicitly
authorAndrew Deason <adeason@sinenomine.net>
Thu, 24 Jul 2014 16:07:45 +0000 (11:07 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Mon, 24 Nov 2014 09:14:05 +0000 (04:14 -0500)
commitd3f0c37b796b02e05baf9d8270bd95d713d08b62
tree40fc99ee1505c4eff6333af733f6643c0dc9093a
parent663bdfcb16ab742ef12acca110f279b749f15586
LINUX: Check afs_lookup return code explicitly

Checking if the returned vcache is NULL or not is a bit of an indirect
way to check if an error occurred. Just check the return code itself,
to make sure we notice if any kind of error is reported.

Suggested by Chas Williams.

Reviewed-on: http://gerrit.openafs.org/11321
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit 2edf5c0382385f898a017fd8e0e2429f8b2b3520)

Change-Id: I7e123ab1cf88570a6b18e438e01409ed7804e014
Reviewed-on: http://gerrit.openafs.org/11558
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX/osi_vnodeops.c