nfsd: remove unused argument to nfs4_has_reclaimed_state
authorJeff Layton <jlayton@redhat.com>
Fri, 9 Nov 2012 20:06:38 +0000 (15:06 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 10 Nov 2012 19:56:54 +0000 (14:56 -0500)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4recover.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h

index 0f1e2e21f7d9789789b3c185dc4879039cfef29e..151921bd164ee20d17363a6af675fd6a14328f58 100644 (file)
@@ -320,7 +320,7 @@ purge_old(struct dentry *parent, struct dentry *child)
 {
        int status;
 
-       if (nfs4_has_reclaimed_state(child->d_name.name, false))
+       if (nfs4_has_reclaimed_state(child->d_name.name))
                return 0;
 
        status = vfs_rmdir(parent->d_inode, child);
index 13f3471b02a2c797320e31b6c64d8f5636292358..d6b602a92657bcabefda62e8d7a973aeaedf114c 100644 (file)
@@ -4484,7 +4484,7 @@ alloc_reclaim(void)
 }
 
 int
-nfs4_has_reclaimed_state(const char *name, bool use_exchange_id)
+nfs4_has_reclaimed_state(const char *name)
 {
        unsigned int strhashval = clientstr_hashval(name);
        struct nfs4_client *clp;
index 0498053b8f0edd6668aed8c76f080ac59e8ea6eb..8053b5747960af9ffc030df4980961d5a372fdb6 100644 (file)
@@ -482,7 +482,7 @@ extern void nfsd4_shutdown_callback(struct nfs4_client *);
 extern void nfs4_put_delegation(struct nfs4_delegation *dp);
 extern __be32 nfs4_make_rec_clidname(char *clidname, struct xdr_netobj *clname);
 extern int nfs4_client_to_reclaim(const char *name);
-extern int nfs4_has_reclaimed_state(const char *name, bool use_exchange_id);
+extern int nfs4_has_reclaimed_state(const char *name);
 extern void release_session_client(struct nfsd4_session *);
 extern void nfsd4_purge_closed_stateid(struct nfs4_stateowner *);