debugfs: update comment of debugfs_rename()
authorQi Zheng <zhengqi.arch@bytedance.com>
Wed, 8 Feb 2023 03:56:34 +0000 (11:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Feb 2023 12:43:05 +0000 (13:43 +0100)
commitd3002468cb5d5da11e22145c9af32facd5c34352
treef2b1cfc574d0aaa77a39c63106d8fbdc4074e595
parent007ed7900aae514986770f6e14069ebd99c4a4c6
debugfs: update comment of debugfs_rename()

Since commit ff9fb72bc077 ("debugfs: return error values, not NULL")
changed return value of debugfs_rename() in error cases from %NULL to
%ERR_PTR(-ERROR), the comment of debugfs_rename should also be updated
so as not to mislead readers.

Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Link: https://lore.kernel.org/r/20230208035634.58095-1-zhengqi.arch@bytedance.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/inode.c