diff options
| author | Amir Goldstein <[email protected]> | 2021-11-29 20:15:35 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-12-15 14:55:53 +0000 |
| commit | 2bfbcccde6e7a787feabad4645f628f963fe0663 (patch) | |
| tree | 277e92c0ad85d9ed876a0167d3d0de9360b0aa2b /Documentation/filesystems/caching/netfs-api.rst | |
| parent | fanotify: record old and new parent and name in FAN_RENAME event (diff) | |
| download | kernel-2bfbcccde6e7a787feabad4645f628f963fe0663.tar.gz kernel-2bfbcccde6e7a787feabad4645f628f963fe0663.zip | |
fanotify: record either old name new name or both for FAN_RENAME
We do not want to report the dirfid+name of a directory whose
inode/sb are not watched, because watcher may not have permissions
to see the directory content.
Use an internal iter_info to indicate to fanotify_alloc_event()
which marks of this group are watching FAN_RENAME, so it can decide
if we need to record only the old parent+name, new parent+name or both.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Amir Goldstein <[email protected]>
[JK: Modified code to pass around only mask of mark types matching
generated event]
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions
