Jeff Layton has uploaded this change for review.
exports: prune off old exports after reloading config
After rereading the exports in a new config, walk the list of them and
prune off any that have a config generation older than the one
representing the current config.
If pruning an export would leave another disconnected however, leave it
in place and LogCrit a message indicating that it couldn't be unmounted.
Change-Id: If5b5a11c7b45150ec34d7bc7b500c341f9126f79
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/Protocols/NFS/nfs4_pseudo.c
M src/include/export_mgr.h
M src/include/nfs_proto_functions.h
M src/support/export_mgr.c
M src/support/exports.c
5 files changed, 81 insertions(+), 12 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/59/437359/1
To view, visit change 437359. To unsubscribe, or for help writing mail filters, visit settings.