diff options
author | J. Bruce Fields <bfields@redhat.com> | 2020-05-06 18:09:34 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-05-09 03:23:10 +0200 |
commit | 52782c92ac85c4e393eb4a903a62e6c24afa633f (patch) | |
tree | ff14ce08344fd48a5d6228527bbd949c012a13d4 /fs/nfsd/nfssvc.c | |
parent | sunrpc: Remove unused function ip_map_update (diff) | |
download | linux-52782c92ac85c4e393eb4a903a62e6c24afa633f.tar.xz linux-52782c92ac85c4e393eb4a903a62e6c24afa633f.zip |
kthread: save thread function
It's handy to keep the kthread_fn just as a unique cookie to identify
classes of kthreads. E.g. if you can verify that a given task is
running your thread_fn, then you may know what sort of type kthread_data
points to.
We'll use this in nfsd to pass some information into the vfs. Note it
will need kthread_data() exported too.
Original-patch-by: Tejun Heo <tj@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfssvc.c')
0 files changed, 0 insertions, 0 deletions