nlmclnt_recovery: don't use CLONE_SIGHAND
Subsystems (2)
PATCH 1/1 nlmclnt_recovery: don't use CLONE_SIGHAND
reclaimer() calls allow_signal() which plays with parent process's ->sighand.
Signed-off-by Oleg Nesterov <[email protected]>
fs/lockd/clntlock.c renamed from fs/lockd/clntlock.c~1_lockd +1 -1
@@ -153,7 +153,7 @@ nlmclnt_recovery(struct nlm_host *host)if (!host->h_reclaiming++) {nlm_get_host (host);__module_get (THIS_MODULE ); -if (kernel_thread (reclaimer, host,CLONE_KERNEL ) <0 ) +if (kernel_thread (reclaimer, host,CLONE_FS |CLONE_FILES ) <0 )module_put (THIS_MODULE ); } }