Unverified Commit 73a91ef3 authored by Bagas Sanjaya's avatar Bagas Sanjaya Committed by Christian Brauner
Browse files

VFS: fix __start_dirop() kernel-doc warnings



Sphinx report kernel-doc warnings:

WARNING: ./fs/namei.c:2853 function parameter 'state' not described in '__start_dirop'
WARNING: ./fs/namei.c:2853 expecting prototype for start_dirop(). Prototype was for __start_dirop() instead

Fix them up.

Fixes: ff7c4ea1 ("VFS: add start_creating_killable() and start_removing_killable()")
Signed-off-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Link: https://patch.msgid.link/20251219024620.22880-3-bagasdotme@gmail.com


Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent fe33729d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2844,10 +2844,11 @@ static int filename_parentat(int dfd, struct filename *name,
}

/**
 * start_dirop - begin a create or remove dirop, performing locking and lookup
 * __start_dirop - begin a create or remove dirop, performing locking and lookup
 * @parent:       the dentry of the parent in which the operation will occur
 * @name:         a qstr holding the name within that parent
 * @lookup_flags: intent and other lookup flags.
 * @state:        task state bitmask
 *
 * The lookup is performed and necessary locks are taken so that, on success,
 * the returned dentry can be operated on safely.