Skip to content

Commit 6ea258d

Browse files
OpenSourceReduxbrauner
authored andcommitted
fs/namei: fix kernel-doc markup for dentry_create
O_ is interpreted as a broken hyperlink target. Escape _ with a backslash. The asterisk in "struct file *" is interpreted as an opening emphasis string that never closes. Replace double quotes with rST backticks. Change "a ERR_PTR" to "an ERR_PTR". Signed-off-by: Jay Winston <jaybenjaminwinston@gmail.com> Link: https://patch.msgid.link/20260118110401.2651-1-jaybenjaminwinston@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 1c921ba commit 6ea258d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/namei.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4939,7 +4939,7 @@ EXPORT_SYMBOL(start_creating_user_path);
49394939
/**
49404940
* dentry_create - Create and open a file
49414941
* @path: path to create
4942-
* @flags: O_ flags
4942+
* @flags: O\_ flags
49434943
* @mode: mode bits for new file
49444944
* @cred: credentials to use
49454945
*
@@ -4950,7 +4950,7 @@ EXPORT_SYMBOL(start_creating_user_path);
49504950
* the new file is to be created. The parent directory and the
49514951
* negative dentry must reside on the same filesystem instance.
49524952
*
4953-
* On success, returns a "struct file *". Otherwise a ERR_PTR
4953+
* On success, returns a ``struct file *``. Otherwise an ERR_PTR
49544954
* is returned.
49554955
*/
49564956
struct file *dentry_create(struct path *path, int flags, umode_t mode,

0 commit comments

Comments
 (0)