OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3119-g3081a2c
Gerrit Code Review
gerrit@openafs.org
Tue, 13 Nov 2012 10:40:20 -0800 (PST)
The following commit has been merged in the master branch:
commit 866a9fbbdd89735ab76a70cb6d6523db2b98e4c9
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Nov 1 16:33:31 2012 -0500
afs_FreeDiscardedDCache: Avoid assert on error
Currently afs_FreeDiscardedDCache will assert if it cannot read in any
discarded dcache entry to free. Return an error instead of asserting,
so the caller can figure out what to do about the error.
Adjust the callers to handle the error, or panic.
afs_MaybeFreeDiscardedDCache still just panics anyway, as making it
handle the error gracefully is beyond the scope of this commit, and is
work for another day.
This changes afs_FreeDiscardedDCache to return an int.
Change-Id: Id1e77af18461c9804b655c6f91ac90038621a394
Reviewed-on: http://gerrit.openafs.org/8406
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/afs_dcache.c | 36 ++++++++++++++++++++++++++++++------
1 files changed, 30 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository