summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-07-30 08:27:35 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-08-05 10:55:20 -0400
commitdab6ef2415a45b644ae6015ea9687803a1e967fa (patch)
tree561a8e882535e3c2a8f982033bce7aeacc121a90 /fs/nfsd
parent05149dd4dcfb45a57def3f6277bc636110a45b7a (diff)
downloadlinux-dab6ef2415a45b644ae6015ea9687803a1e967fa.tar.gz
linux-dab6ef2415a45b644ae6015ea9687803a1e967fa.tar.bz2
linux-dab6ef2415a45b644ae6015ea9687803a1e967fa.zip
nfsd: remove nfs4_lock_state: nfs4_laundromat
Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 3b9a1a6348c6..f5d434c89813 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4152,8 +4152,6 @@ nfs4_laundromat(struct nfsd_net *nn)
time_t cutoff = get_seconds() - nn->nfsd4_lease;
time_t t, new_timeo = nn->nfsd4_lease;
- nfs4_lock_state();
-
dprintk("NFSD: laundromat service - starting\n");
nfsd4_end_grace(nn);
INIT_LIST_HEAD(&reaplist);
@@ -4221,7 +4219,6 @@ nfs4_laundromat(struct nfsd_net *nn)
spin_unlock(&nn->client_lock);
new_timeo = max_t(time_t, new_timeo, NFSD_LAUNDROMAT_MINTIMEOUT);
- nfs4_unlock_state();
return new_timeo;
}