diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-11-12 15:00:52 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-12 18:55:11 -0500 |
commit | 278c931cb05ae624df8c82b6bdfbb0e03392cde7 (patch) | |
tree | 95a118939afae6fb4d88184979d38e4d373001fb /fs/nfsd/nfs4recover.c | |
parent | 8b0554e9a24298c91de89a779a714c87073380a2 (diff) |
nfsd: have nfsd4_find_reclaim_client take a char * argument
Currently, it takes a client pointer, but later we're going to need to
search for these records without knowing whether a matching client even
exists.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
-rw-r--r-- | fs/nfsd/nfs4recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c index 6aaf5d92a43c..4e92fb38cfb2 100644 --- a/fs/nfsd/nfs4recover.c +++ b/fs/nfsd/nfs4recover.c | |||
@@ -486,7 +486,7 @@ nfsd4_check_legacy_client(struct nfs4_client *clp) | |||
486 | return 0; | 486 | return 0; |
487 | 487 | ||
488 | /* look for it in the reclaim hashtable otherwise */ | 488 | /* look for it in the reclaim hashtable otherwise */ |
489 | if (nfsd4_find_reclaim_client(clp)) { | 489 | if (nfsd4_find_reclaim_client(clp->cl_recdir)) { |
490 | set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags); | 490 | set_bit(NFSD4_CLIENT_STABLE, &clp->cl_flags); |
491 | return 0; | 491 | return 0; |
492 | } | 492 | } |