diff options
author | Jan Kara <jack@suse.cz> | 2020-03-24 16:55:37 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2020-03-25 10:27:16 +0100 |
commit | afc894c784c84cb3bb85a235feca2cb278f7b023 (patch) | |
tree | 13e6191ff5d1c60b09ad9d0eec3bf7578c2dcb01 /scripts/genksyms | |
parent | fanotify: Simplify create_fd() (diff) | |
download | linux-afc894c784c84cb3bb85a235feca2cb278f7b023.tar.xz linux-afc894c784c84cb3bb85a235feca2cb278f7b023.zip |
fanotify: Store fanotify handles differently
Currently, struct fanotify_fid groups fsid and file handle and is
unioned together with struct path to save space. Also there is fh_type
and fh_len directly in struct fanotify_event to avoid padding overhead.
In the follwing patches, we will be adding more event types and this
packing makes code difficult to follow. So unpack everything and create
struct fanotify_fh which groups members logically related to file handle
to make code easier to follow. In the following patch we will pack
things again differently to make events smaller.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions