Whamcloud - gitweb
ONLY UPDATE IF YOU NEED THIS (i.e. Andreas probably will)
[fs/lustre-release.git] / lustre / ptlrpc / recovd.c
index 336633f..b3a76f4 100644 (file)
@@ -276,7 +276,12 @@ static int recovd_main(void *arg)
         daemonize();
         spin_lock_irq(&current->sigmask_lock);
         sigfillset(&current->blocked);
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
+        recalc_sigpending();
+#else
         recalc_sigpending(current);
+#endif
         spin_unlock_irq(&current->sigmask_lock);
 
         sprintf(current->comm, "lustre_recovd");