patch-2.4.25 linux-2.4.25/fs/lockd/clntlock.c
Next file: linux-2.4.25/fs/locks.c
Previous file: linux-2.4.25/fs/jfs/xattr.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/fs/lockd/clntlock.c
- Orig date:
2001-10-01 13:45:47.000000000 -0700
diff -urN linux-2.4.24/fs/lockd/clntlock.c linux-2.4.25/fs/lockd/clntlock.c
@@ -188,7 +188,8 @@
nlmclnt_prepare_reclaim(host, newstate);
nlm_get_host(host);
MOD_INC_USE_COUNT;
- kernel_thread(reclaimer, host, CLONE_SIGNAL);
+ if (kernel_thread(reclaimer, host, CLONE_SIGNAL) < 0)
+ MOD_DEC_USE_COUNT;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)