diff options
author | Amir Goldstein <[email protected]> | 2021-11-29 22:15:36 +0200 |
---|---|---|
committer | Jan Kara <[email protected]> | 2021-12-15 15:57:31 +0100 |
commit | 7326e382c21e9c23c89c88369afdc90b82a14da8 (patch) | |
tree | ee9059f743b8bdb967308b90a832690f76998f57 /Documentation/filesystems/caching/cachefiles.rst | |
parent | 2bfbcccde6e7a787feabad4645f628f963fe0663 (diff) |
fanotify: report old and/or new parent+name in FAN_RENAME event
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/[email protected]
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/cachefiles.rst')
0 files changed, 0 insertions, 0 deletions