diff options
author | Amir Goldstein <[email protected]> | 2021-11-29 22:15:32 +0200 |
---|---|---|
committer | Jan Kara <[email protected]> | 2021-12-15 14:04:33 +0100 |
commit | 1a9515ac9e55e68d733bab81bd408463ab1e25b1 (patch) | |
tree | 74d8e8e0208b12e7ce7ce6061a9667b40733bb81 /net/lapb/lapb_timer.c | |
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/[email protected]
Signed-off-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions