dir: check DNew return code 01/13801/14
authorMark Vitale <mvitale@sinenomine.net>
Wed, 5 Feb 2020 22:49:03 +0000 (17:49 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 6 Nov 2020 19:42:15 +0000 (14:42 -0500)
commit6bd94fe29d1aa6ce61ba02e681defea79770ccdd
tree9550573f593e24887bfc032221e089300c6bd8c3
parent7b0a66f63b8fd0d332de4766b2472c0270f0f253
dir: check DNew return code

Commit 0284e65f97861e888d95576f22a93cd681813c39 'dir: Explicitly state
buffer locations for data' changed DNew and DRead to return a return
code.  However, the callers of DNew were not modified to check the new
return code.  (This commit applied only to the implementations dealing
with AFS directories, in afs/afs_buffer.c and dir/dir.c.  The ubik
implmentations of DNew and DRead, dealing with ubik databases, were not
modified.)

Modify all (non-ubik) callers of DNew to check the return code.  In
addition, modify code as needed so return codes are properly propagated
to the callers.

While here, add Doxygen comments for AddPage and FindBlobs.

Change-Id: Iabde6499745dd351f3fcda73c9f52c440a36490e
Reviewed-on: https://gerrit.openafs.org/13801
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/dir/dir.c