]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/lockd/clntproc.c
[PATCH] fs: fix-up schedule_timeout() usage
[linux-2.6-omap-h63xx.git] / fs / lockd / clntproc.c
index 14b3ce87fa29cd96162678fb754936e22c99caec..87332f30141b621b7478f3faacfac6e4c226d991 100644 (file)
@@ -299,8 +299,7 @@ nlmclnt_alloc_call(void)
                        return call;
                }
                printk("nlmclnt_alloc_call: failed, waiting for memory\n");
-               current->state = TASK_INTERRUPTIBLE;
-               schedule_timeout(5*HZ);
+               schedule_timeout_interruptible(5*HZ);
        }
        return NULL;
 }