Skip to content

fsnotify: Generate FS_CREATE event before FS_OPEN

Jan Kara linux-fsdevel linux-nfs ltp 1 version Applied

Status from this message: Applied to the vfs.fixes branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 4 repliesApplied

Changes in v3 from the cover letter

* Don't generate FS_OPEN events for O_PATH fd opens
* Move generation of FS_OPEN event for atomic_open() into a more logical place

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2fsnotify: Do not generate events for O_PATH file descriptorsinclude/linux/fsnotify.h+7 -13 replies
2/2vfs: generate FS_CREATE before FS_OPEN when ->atomic_open used.fs/namei.c fs/open.c+23 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJames ClarkAmir Goldstein
1/2R-b
2/2T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/2 v3] fsnotify: Generate FS_CREATE event before FS_OPEN

Hello,

this is a third revision of the series Neil started making sure FS_CREATE event is generated before FS_OPEN event even for filesystems using atomic_open.

Changes since v2:
* Don't generate FS_OPEN events for O_PATH fd opens
* Move generation of FS_OPEN event for atomic_open() into a more logical place

Previous version:
v2: https://lore.kernel.org/all/[email protected]/

Honza