diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-07-13 11:33:55 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-08-10 22:05:51 +0200 |
commit | 7a5e8d5b5cdbd05f8b65a7bbcd62e70a9f48eecb (patch) | |
tree | 72cd28dae295ffa3818c121cee7348492c7e9247 /fs/nfsd/nfs4state.c | |
parent | nfsd: Remove unused values in nfs4_setlease() (diff) | |
download | linux-7a5e8d5b5cdbd05f8b65a7bbcd62e70a9f48eecb.tar.xz linux-7a5e8d5b5cdbd05f8b65a7bbcd62e70a9f48eecb.zip |
nfsd: Remove duplicate checking of nfsd_net in nfs4_laundromat()
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 780fd6e1478d..433355d46794 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -4340,8 +4340,6 @@ nfs4_laundromat(struct nfsd_net *nn) spin_lock(&state_lock); list_for_each_safe(pos, next, &nn->del_recall_lru) { dp = list_entry (pos, struct nfs4_delegation, dl_recall_lru); - if (net_generic(dp->dl_stid.sc_client->net, nfsd_net_id) != nn) - continue; if (time_after((unsigned long)dp->dl_time, (unsigned long)cutoff)) { t = dp->dl_time - cutoff; new_timeo = min(new_timeo, t); |