From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> This patchset fixes a couple of missed API changes in mountd to ensure that the [exports]rootdir root jail works correctly. It fixes up the 'same_path' function, as well as 'uuid_by_path'. It also improves the error handling, and tries to distinguish between bona fide path resolution problems, and other transient issues in order to avoid having knfsd return spurious ESTALE errors. Trond Myklebust (7): mountd: Add a helper nfsd_path_statfs64() for uuid_by_path() nfsd: Support running nfsd_name_to_handle_at() in the root jail mountd: Fix up path checking helper same_path() Fix autoconf probe for 'struct nfs_filehandle' mountd: Ensure dump_to_cache() sets errno appropriately mountd: Ignore transient and non-fatal filesystem errors in nfsd_fh() mountd: Check the stat() return values in match_fsid() configure.ac | 7 +- support/include/nfsd_path.h | 9 ++ support/misc/nfsd_path.c | 109 ++++++++++++++++++++++ utils/mountd/cache.c | 174 ++++++++++++++++++++++++------------ 4 files changed, 242 insertions(+), 57 deletions(-) -- 2.25.2