OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3119-g3081a2c
Gerrit Code Review
Tue, 13 Nov 2012 10:40:20 -0800 (PST)
The following commit has been merged in the master branch:
Author: Andrew Deason <email@example.com>
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.
Tested-by: BuildBot <firstname.lastname@example.org>
Reviewed-by: Derrick Brashear <email@example.com>
src/afs/afs_dcache.c | 36 ++++++++++++++++++++++++++++++------
1 files changed, 30 insertions(+), 6 deletions(-)
OpenAFS Master Repository