The following commit has been merged in the master branch:
commit 2edf5c0382385f898a017fd8e0e2429f8b2b3520
Author: Andrew Deason <[email protected]>
Date: Thu Jul 24 11:07:45 2014 -0500
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.
Change-Id: I61cc7304e9885ddaaebe96db3b12457cb6224420
Reviewed-on: http://gerrit.openafs.org/11321
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: D Brashear <[email protected]>
src/afs/LINUX/osi_vnodeops.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs