]> 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)
commitfdaab2420126ab71266d5c401b83ecaa30a12477
tree63bfcfe5d570ad97522b612f0946a0c5c0df5453
parent3b02eb2ed9d23ff8d5d48940c3d69217b3c202ed
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