diff options
| author | Tejun Heo <tj@kernel.org> | 2015-11-20 15:55:52 -0500 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:09 +0300 |
| commit | 8de2dd69e0de818afa690b277bedac4c6f74b2d9 (patch) | |
| tree | 00d3662e3844bf189180b4dbd960100530e3fcd4 /kernel/bpf/arraymap.c | |
| parent | 0fda01db8b25b8d8ce1d812dcf6ecfca0ad49d57 (diff) | |
kernfs: implement kernfs_walk_and_get()
Implement kernfs_walk_and_get() which is similar to
kernfs_find_and_get() but can walk a path instead of just a name.
v2: Use strlcpy() instead of strlen() + memcpy() as suggested by
David.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions
