]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kernfs: update comment about kernfs_path() return value
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Mon, 13 Aug 2018 06:52:09 +0000 (09:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Sep 2018 20:37:16 +0000 (22:37 +0200)
commit8f5be0ec23bb9ef3f96659c8dff1340b876600bf
tree036a4acdeefe02bd358a83ea6f3168ee67c97d9f
parent7876320f88802b22d4e2daf7eb027dd14175a0f8
kernfs: update comment about kernfs_path() return value

Now it returns the length of the full path or error code.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fixes: 3abb1d90f5d9 ("kernfs: make kernfs_path*() behave in the style of strlcpy()")
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kernfs.h