OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-52-gaed4a0c
Gerrit Code Review
gerrit@openafs.org
Fri, 6 Nov 2020 15:57:05 -0500
The following commit has been merged in the master branch:
commit aed4a0c4b91c5ce185547e83bfff443f3d3831f9
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Fri Jul 19 14:41:55 2019 -0400
afs: avoid panic in DNew when afs_WriteDCache fails
afs_WriteDCache may fail for an IO error, or if interrupted (EINTR).
Unfortunately, DNew will panic in this case, crashing the entire
machine.
In order to avoid an outage in this case, don't panic. Instead, reflect
the error back to the caller of DNew.
While here, add Doxygen comments to DNew.
Change-Id: I27a8f89bab979c5691dded70e8b9eacbe8aff4fd
Reviewed-on: https://gerrit.openafs.org/13804
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs_buffer.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository