mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
fs/namei.c: fix kerneldoc of atomic_open() and vfs_lookup_open()
Commitba0e870266("fs/namei.c: update kerneldoc of atomic_open()") turned the comment above atomic_open() into kerneldoc, but wrote the return description as running text. kernel-doc only recognises a return section introduced by "Return:" or "Returns:", so this added a warning under W=1: fs/namei.c:4362 No description found for return value of 'atomic_open' Give it the missing colon. The summary line also has to stand on its own line, so move the "from a negative dentry" part into the body, where it can say that the caller has to hand over a negative dentry. Also add the "to" missing from vfs_lookup_open()'s description. Link: https://patch.msgid.link/20260731-work-lookup-fixes-v1-2-2412b85cf65c@kernel.org Fixes:ba0e870266("fs/namei.c: update kerneldoc of atomic_open()") Fixes:536227b814("VFS: add vfs_lookup_open() for nfsd") Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
parent
aa00a8fd9d
commit
e02bbfd940
1 changed files with 7 additions and 5 deletions
12
fs/namei.c
12
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue