diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-06-20 15:53:44 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-29 11:46:45 -0400 |
commit | 57ec14c55dee2733330327499d16e40f8c23219e (patch) | |
tree | f375d5c2c16266a55aa1d0c9a8a9e865465f1d12 /include/linux/nfs_xdr.h | |
parent | 011e2a7fd5e9e0c2fdba6b9466d53fc437f8bfaf (diff) | |
download | lwn-57ec14c55dee2733330327499d16e40f8c23219e.tar.gz lwn-57ec14c55dee2733330327499d16e40f8c23219e.zip |
NFS: Create a return_delegation rpc op
Delegations are a v4 feature, so push return_delegation out of the
generic client by creating a new rpc_op and renaming the old function to
be in the nfs v4 "namespace"
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 8787f77c64b3..62235be07fb8 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1423,6 +1423,7 @@ struct nfs_rpc_ops { int open_flags, struct iattr *iattr); int (*have_delegation)(struct inode *, fmode_t); + int (*return_delegation)(struct inode *); struct nfs_client * (*init_client) (struct nfs_client *, const struct rpc_timeout *, const char *, rpc_authflavor_t); |