Skip to content

Commit

Permalink
nfsd: remove unused argument to nfs4_has_reclaimed_state
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
jtlayton authored and J. Bruce Fields committed Nov 10, 2012
1 parent 698d8d8 commit a0af710
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion fs/nfsd/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down

0 comments on commit a0af710

Please sign in to comment.