]> git.baikalelectronics.ru Git - kernel.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)
commit02a0c07d3699a7c0145ec988c733c08450b94a80
tree036a4acdeefe02bd358a83ea6f3168ee67c97d9f
parentb952db094f6189476b97fccaee073915d3359a25
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: 94e63a019a0a ("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