diff options
author | Amir Goldstein <amir73il@gmail.com> | 2021-11-29 22:15:36 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-12-15 15:57:31 +0100 |
commit | 7326e382c21e9c23c89c88369afdc90b82a14da8 (patch) | |
tree | ee9059f743b8bdb967308b90a832690f76998f57 /.gitignore | |
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/20211129201537.1932819-11-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions