]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/lockd/svc.c
locks: allow lockd to process blocked locks during grace period
[linux-2.6-omap-h63xx.git] / fs / lockd / svc.c
index 1553fecc567d20d3bc7bc3f37f586d79ae51d933..bdc607bb25e934e77a7ea7e6b16494cb98cf6514 100644 (file)
@@ -158,15 +158,9 @@ lockd(void *vrqstp)
                        continue;
                }
 
-               /*
-                * Retry any blocked locks that have been notified by
-                * the VFS. Don't do this during grace period.
-                * (Theoretically, there shouldn't even be blocked locks
-                * during grace period).
-                */
-               if (!nlmsvc_grace_period) {
-                       timeout = nlmsvc_retry_blocked();
-               } else if (time_before(grace_period_expire, jiffies))
+               timeout = nlmsvc_retry_blocked();
+
+               if (time_before(grace_period_expire, jiffies))
                        clear_grace_period();
 
                /*