diff options
author | Amir Goldstein <amir73il@gmail.com> | 2021-11-29 22:15:32 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-12-15 14:04:33 +0100 |
commit | 1a9515ac9e55e68d733bab81bd408463ab1e25b1 (patch) | |
tree | 74d8e8e0208b12e7ce7ce6061a9667b40733bb81 /fs/qnx6 | |
parent | 2d9374f095136206a02eb0b6cd9ef94632c1e9f7 (diff) |
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/20211129201537.1932819-7-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/qnx6')
0 files changed, 0 insertions, 0 deletions