Re: [PATCH 3/3] fs/namei.c: update kerneldoc of atomic_open()

From: Paul Moore

Date: Fri Jul 24 2026 - 17:11:49 EST


On Jul 10, 2026 Jori Koolstra <jkoolstra@xxxxxxxxx> wrote:
>
> 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@xxxxxxxxx>
> ---
> fs/namei.c | 32 ++++++++++++++++++++------------
> 1 file changed, 20 insertions(+), 12 deletions(-)

Reviewed-by: Paul Moore <paul@xxxxxxxxxxxxxx>

--
paul-moore.com