diff options
| author | Amir Goldstein <[email protected]> | 2021-11-29 20:15:32 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-12-15 13:04:33 +0000 |
| commit | 1a9515ac9e55e68d733bab81bd408463ab1e25b1 (patch) | |
| tree | 74d8e8e0208b12e7ce7ce6061a9667b40733bb81 /Documentation/filesystems/caching/netfs-api.rst | |
| parent | fanotify: use macros to get the offset to fanotify_info buffer (diff) | |
| download | kernel-1a9515ac9e55e68d733bab81bd408463ab1e25b1.tar.gz kernel-1a9515ac9e55e68d733bab81bd408463ab1e25b1.zip | |
fanotify: use helpers to parcel fanotify_info buffer
fanotify_info buffer is parceled into variable sized records, so the
records must be written in order: dir_fh, file_fh, name.
Use helpers to assert that order and make fanotify_alloc_name_event()
a bit more generic to allow empty dir_fh record and to allow expanding
to more records (i.e. name2) soon.
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
