From bbe0c3d99f33fa97db37a1c4e393c79965666752 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 11 Oct 2002 05:34:28 -0700 Subject: [PATCH] kNFSd: New routine exp_pseudoroot() to find 'root' filehandle for nfsv4 NFSv4 has a concept of a 'root' filehandle (from which all other can be found via LOOKUP, so no need for mountd). This patch defines exp_pseudoroot(), which is used to set the filehandle for the root of the pseudofs. The root is defined to be the export point with fsid == 0. --- include/linux/nfsd/export.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index 8c79deb497ee..9c50603cd671 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h @@ -100,6 +100,7 @@ struct svc_export * exp_parent(struct svc_client *clp, struct vfsmount *mnt, struct dentry *dentry); int exp_rootfh(struct svc_client *, char *path, struct knfsd_fh *, int maxsize); +int exp_pseudoroot(struct svc_client *, struct svc_fh *fhp); int nfserrno(int errno); static inline struct svc_export * -- cgit v1.2.3