diff options
author | David Howells <dhowells@redhat.com> | 2006-08-22 20:06:09 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-22 23:24:32 -0400 |
commit | 2b3de4411b3ccaeb00018c99d1bbe7203554cf7f (patch) | |
tree | cb49ea1fe64835fdbb8335a55049e70b3d87c5ae /include | |
parent | b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a (diff) |
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')
-rw-r--r-- | include/linux/nfs_xdr.h | 3 |
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 { | |||
770 | 770 | ||
771 | int (*getroot) (struct nfs_server *, struct nfs_fh *, | 771 | int (*getroot) (struct nfs_server *, struct nfs_fh *, |
772 | struct nfs_fsinfo *); | 772 | struct nfs_fsinfo *); |
773 | int (*lookupfh)(struct nfs_server *, struct nfs_fh *, | ||
774 | struct qstr *, struct nfs_fh *, | ||
775 | struct nfs_fattr *); | ||
773 | int (*getattr) (struct nfs_server *, struct nfs_fh *, | 776 | int (*getattr) (struct nfs_server *, struct nfs_fh *, |
774 | struct nfs_fattr *); | 777 | struct nfs_fattr *); |
775 | int (*setattr) (struct dentry *, struct nfs_fattr *, | 778 | int (*setattr) (struct dentry *, struct nfs_fattr *, |