[PATCH] knfsd: lockd: flush signals on shutdown
Silence another annoying "failed to contact portmap (errno -512)" on shutdown. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
13cd21845d
commit
46be925fa6
@@ -192,6 +192,8 @@ lockd(struct svc_rqst *rqstp)
|
|||||||
"lockd: new process, skipping host shutdown\n");
|
"lockd: new process, skipping host shutdown\n");
|
||||||
wake_up(&lockd_exit);
|
wake_up(&lockd_exit);
|
||||||
|
|
||||||
|
flush_signals(current);
|
||||||
|
|
||||||
/* Exit the RPC thread */
|
/* Exit the RPC thread */
|
||||||
svc_exit_thread(rqstp);
|
svc_exit_thread(rqstp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user