]> git.ipfire.org Git - thirdparty/linux.git/commit
backing-file: fix backing_file_open() kerneldoc parameter
authorLi Wang <liwang@kylinos.cn>
Thu, 28 May 2026 10:42:08 +0000 (18:42 +0800)
committerChristian Brauner <brauner@kernel.org>
Wed, 10 Jun 2026 07:49:25 +0000 (09:49 +0200)
commitaa5c4fe3ba0cb2af90bbcfa7a8ef4fefcd5c2370
tree4106f6fdf663028fff46b3f281f0c424ce14b3c1
parentde654d66ff30e75d9308fd4d4f1627addef7923e
backing-file: fix backing_file_open() kerneldoc parameter

The kerneldoc for backing_file_open() documented a @user_path argument,
but the function takes const struct file *user_file. The user
path is derived as &user_file->f_path.

Update the @-tag to @user_file and adjust the description accordingly.
Also fix the "reuqested" typo to 'requested' in the old comment.

Signed-off-by: Li Wang <liwang@kylinos.cn>
Link: https://patch.msgid.link/20260528104208.395757-1-liwang@kylinos.cn
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/backing-file.c