diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-16 15:52:27 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-06-22 19:24:02 +0200 |
commit | e047a10c1293ee0ab20258154e7f3ebf8ad502d6 (patch) | |
tree | 7dacba9544d57462b136893903398ce08b3a8435 /fs/nfs/delegation.h | |
parent | NFSv41: Convert the various reboot recovery ops etc to minor version ops (diff) | |
download | linux-e047a10c1293ee0ab20258154e7f3ebf8ad502d6.tar.xz linux-e047a10c1293ee0ab20258154e7f3ebf8ad502d6.zip |
NFSv41: Fix nfs_async_inode_return_delegation() ugliness
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/delegation.h')
-rw-r--r-- | fs/nfs/delegation.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h index 69e7b8140122..2026304bda19 100644 --- a/fs/nfs/delegation.h +++ b/fs/nfs/delegation.h @@ -34,9 +34,7 @@ enum { int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res); void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, struct nfs_openres *res); int nfs_inode_return_delegation(struct inode *inode); -int nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid, - int (*validate_stateid)(struct nfs_delegation *delegation, - const nfs4_stateid *stateid)); +int nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid); void nfs_inode_return_delegation_noreclaim(struct inode *inode); struct inode *nfs_delegation_find_inode(struct nfs_client *clp, const struct nfs_fh *fhandle); |