]> git.baikalelectronics.ru Git - kernel.git/commit
lockd: move svc_exit_thread() into the thread
authorNeilBrown <neilb@suse.de>
Mon, 29 Nov 2021 04:51:25 +0000 (15:51 +1100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Dec 2021 18:42:55 +0000 (13:42 -0500)
commit73f60e38d957c323729c8de5c5b292b0e7078364
tree63bfcfe5d570ad97522b612f0946a0c5c0df5453
parentf8335be99795f5c4e759358a2b0c0ea962785491
lockd: move svc_exit_thread() into the thread

The normal place to call svc_exit_thread() is from the thread itself
just before it exists.
Do this for lockd.

This means that nlmsvc_rqst is not used out side of lockd_start_svc(),
so it can be made local to that function, and renamed to 'rqst'.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/svc.c