diff options
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r-- | fs/lockd/svc.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 1553fecc567d..bdc607bb25e9 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -158,15 +158,9 @@ lockd(void *vrqstp) | |||
158 | continue; | 158 | continue; |
159 | } | 159 | } |
160 | 160 | ||
161 | /* | 161 | timeout = nlmsvc_retry_blocked(); |
162 | * Retry any blocked locks that have been notified by | 162 | |
163 | * the VFS. Don't do this during grace period. | 163 | if (time_before(grace_period_expire, jiffies)) |
164 | * (Theoretically, there shouldn't even be blocked locks | ||
165 | * during grace period). | ||
166 | */ | ||
167 | if (!nlmsvc_grace_period) { | ||
168 | timeout = nlmsvc_retry_blocked(); | ||
169 | } else if (time_before(grace_period_expire, jiffies)) | ||
170 | clear_grace_period(); | 164 | clear_grace_period(); |
171 | 165 | ||
172 | /* | 166 | /* |