kernel_samsung_a53x/include/uapi
Amir Goldstein 874b554e0d fanotify: report old and/or new parent+name in FAN_RENAME event
[ Upstream commit 7326e382c21e9c23c89c88369afdc90b82a14da8 ]

In the special case of FAN_RENAME event, we report old or new or both
old and new parent+name.

A single info record will be reported if either the old or new dir
is watched and two records will be reported if both old and new dir
(or their filesystem) are watched.

The old and new parent+name are reported using new info record types
FAN_EVENT_INFO_TYPE_{OLD,NEW}_DFID_NAME, so if a single info record
is reported, it is clear to the application, to which dir entry the
fid+name info is referring to.

Link: https://lore.kernel.org/r/20211129201537.1932819-11-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:49 +01:00
..
asm-generic Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpu/arm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linux fanotify: report old and/or new parent+name in FAN_RENAME event 2024-11-19 12:27:49 +01:00
misc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtd Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rdma Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scsi scsi: fc: Update formal FPIN descriptor definitions 2024-11-19 08:45:00 +01:00
sound Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
video Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xen Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00