aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2021-11-29 22:15:31 +0200
committerJan Kara <[email protected]>2021-12-15 14:04:30 +0100
commit2d9374f095136206a02eb0b6cd9ef94632c1e9f7 (patch)
tree227ae1a4fcbebe2ad12c945475ad3acd3ae00465 /net/lapb/lapb_timer.c
parente54183fa7047c15819bc155f4c58501d9a9a3489 (diff)
fanotify: use macros to get the offset to fanotify_info buffer
The fanotify_info buffer contains up to two file handles and a name. Use macros to simplify the code that access the different items within the buffer. Add assertions to verify that stored fh len and name len do not overflow the u8 stored value in fanotify_info header. Remove the unused fanotify_info_len() helper. 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