afs: Introduce shutdown_dynroot() 13/13713/3
authorAndrew Deason <adeason@dson.org>
Sun, 21 Jul 2019 22:58:48 +0000 (17:58 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 23 Aug 2019 03:19:16 +0000 (23:19 -0400)
commit82118acb6ed4f6fb90f3d864f4045d9c6bc2a55c
tree48a7305f4f0114ac1b9b775873a6f80fe271f019
parentad1fe5e1a825a3b3f88c04fd84613e4105206443
afs: Introduce shutdown_dynroot()

Add a shutdown sequence for dynroot, which frees the afs_dynrootDir
and afs_dynrootMountDir blobs, if they exist. Otherwise, we can leak
the memory allocated for those blobs.

Change-Id: I80fe41a0fcacbd272677ff778cd4ba51399f32f9
Reviewed-on: https://gerrit.openafs.org/13713
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs_call.c
src/afs/afs_dynroot.c
src/afs/afs_prototypes.h