summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorDavid Howells2006-08-23 02:06:09 +0200
committerTrond Myklebust2006-09-23 05:24:32 +0200
commit2b3de4411b3ccaeb00018c99d1bbe7203554cf7f (patch)
treecb49ea1fe64835fdbb8335a55049e70b3d87c5ae /include/linux/nfs_xdr.h
parentNFS: Return an error when starting the idmapping pipe (diff)
downloadkernel-qcow2-linux-2b3de4411b3ccaeb00018c99d1bbe7203554cf7f.tar.gz
kernel-qcow2-linux-2b3de4411b3ccaeb00018c99d1bbe7203554cf7f.tar.xz
kernel-qcow2-linux-2b3de4411b3ccaeb00018c99d1bbe7203554cf7f.zip
NFS: Add a lookupfh NFS RPC op
Add a lookup filehandle NFS RPC op so that a file handle can be looked up without requiring dentries and inodes and other VFS stuff when doing an NFS4 pathwalk during mounting. Signed-Off-By: David Howells <dhowells@redhat.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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 41e5a19199e9..26879771831d 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -770,6 +770,9 @@ struct nfs_rpc_ops {
int (*getroot) (struct nfs_server *, struct nfs_fh *,
struct nfs_fsinfo *);
+ int (*lookupfh)(struct nfs_server *, struct nfs_fh *,
+ struct qstr *, struct nfs_fh *,
+ struct nfs_fattr *);
int (*getattr) (struct nfs_server *, struct nfs_fh *,
struct nfs_fattr *);
int (*setattr) (struct dentry *, struct nfs_fattr *,