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) |
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 { | |||
1423 | int open_flags, | 1423 | int open_flags, |
1424 | struct iattr *iattr); | 1424 | struct iattr *iattr); |
1425 | int (*have_delegation)(struct inode *, fmode_t); | 1425 | int (*have_delegation)(struct inode *, fmode_t); |
1426 | int (*return_delegation)(struct inode *); | ||
1426 | struct nfs_client * | 1427 | struct nfs_client * |
1427 | (*init_client) (struct nfs_client *, const struct rpc_timeout *, | 1428 | (*init_client) (struct nfs_client *, const struct rpc_timeout *, |
1428 | const char *, rpc_authflavor_t); | 1429 | const char *, rpc_authflavor_t); |