aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-04-27 13:27:45 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-27 14:10:39 -0400
commit281cad46b34db4dbb1d1e603f7b9cfe25d1ae7c9 (patch)
treef13917030755776a4f80ffcc0d07c2b5da60066d /include/linux/nfs_xdr.h
parent2671bfc3beb44e70636bd0208274426db57f73b5 (diff)
NFS: Create a submount rpc_op
This simplifies the code for v2 and v3 and gives v4 a chance to decide on referrals without needing to modify the generic client. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index eb1f143042f4..4dada94eba7d 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1341,6 +1341,8 @@ struct nfs_rpc_ops {
1341 1341
1342 int (*getroot) (struct nfs_server *, struct nfs_fh *, 1342 int (*getroot) (struct nfs_server *, struct nfs_fh *,
1343 struct nfs_fsinfo *); 1343 struct nfs_fsinfo *);
1344 struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
1345 struct nfs_fh *, struct nfs_fattr *);
1344 int (*getattr) (struct nfs_server *, struct nfs_fh *, 1346 int (*getattr) (struct nfs_server *, struct nfs_fh *,
1345 struct nfs_fattr *); 1347 struct nfs_fattr *);
1346 int (*setattr) (struct dentry *, struct nfs_fattr *, 1348 int (*setattr) (struct dentry *, struct nfs_fattr *,