fsnotify: move mask out of struct fsnotify_event
authorAmir Goldstein <amir73il@gmail.com>
Thu, 10 Jan 2019 17:04:31 +0000 (19:04 +0200)
committerJan Kara <jack@suse.cz>
Wed, 6 Feb 2019 14:25:11 +0000 (15:25 +0100)
commita0a92d261f2922f4b5d2c0a98d6c41a89c7f5edd
tree958b51acde8238d308c2ca0986feeb95dc1fd864
parent45a9fb3725d8868a9b4192afd1a1f2bff1cc5ffb
fsnotify: move mask out of struct fsnotify_event

Common fsnotify_event helpers have no need for the mask field.
It is only used by backend code, so move the field out of the
abstract fsnotify_event struct and into the concrete backend
event structs.

This change packs struct inotify_event_info better on 64bit
machine and will allow us to cram some more fields into
struct fanotify_event_info.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c
fs/notify/fanotify/fanotify.h
fs/notify/fanotify/fanotify_user.c
fs/notify/inotify/inotify.h
fs/notify/inotify/inotify_fsnotify.c
fs/notify/inotify/inotify_user.c
fs/notify/notification.c
include/linux/fsnotify_backend.h