]> git.ipfire.org Git - thirdparty/linux.git/commit
fs/namei.c: update kerneldoc of atomic_open()
authorJori Koolstra <jkoolstra@xs4all.nl>
Fri, 10 Jul 2026 16:42:33 +0000 (18:42 +0200)
committerChristian Brauner <brauner@kernel.org>
Thu, 30 Jul 2026 10:16:56 +0000 (12:16 +0200)
commitba0e8702661319a321ac482dc2775ad316559e2e
tree72c818bba454655f8b71ea4028f0a3456646465e
parent4886c80eef20c72757c584af2f93d26a3b021c6c
fs/namei.c: update kerneldoc of atomic_open()

The comments above atomic_open() contain several errors:

  - atomic_open() does not return 0 if successful
  - @path is not updated

Fix those and be more explicit about when FMODE_OPENED and FMODE_CREATED
are set. Change to a full kerneldoc.

Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Link: https://patch.msgid.link/20260710164233.827744-4-jkoolstra@xs4all.nl
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/namei.c