summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-10-11 05:34:28 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-11 05:34:28 -0700
commitbbe0c3d99f33fa97db37a1c4e393c79965666752 (patch)
treecd2bbbfb0dcb297e25d030e02ba8970de652e213 /include/linux
parent38782482243a134ab8c87e384a8238aafe12903d (diff)
[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.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nfsd/export.h1
1 files changed, 1 insertions, 0 deletions
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 *