aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2021-11-29 20:15:37 +0000
committerJan Kara <[email protected]>2021-12-15 14:58:40 +0000
commit8cc3b1ccd930fe6971e1527f0c4f1bdc8cb56026 (patch)
treea4a2a7fdfbcb8f70f36f5e1e3b7f6c890b457172 /Documentation/filesystems/caching/netfs-api.rst
parentfanotify: report old and/or new parent+name in FAN_RENAME event (diff)
downloadkernel-8cc3b1ccd930fe6971e1527f0c4f1bdc8cb56026.tar.gz
kernel-8cc3b1ccd930fe6971e1527f0c4f1bdc8cb56026.zip
fanotify: wire up FAN_RENAME event
FAN_RENAME is the successor of FAN_MOVED_FROM and FAN_MOVED_TO and can be used to get the old and new parent+name information in a single event. FAN_MOVED_FROM and FAN_MOVED_TO are still supported for backward compatibility, but it makes little sense to use them together with FAN_RENAME in the same group. FAN_RENAME uses special info type records to report the old and new parent+name, so reporting only old and new parent id is less useful and was not implemented. Therefore, FAN_REANAME requires a group with flag FAN_REPORT_NAME. 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/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions