#include <linux/fsnotify_backend.h>#include <linux/path.h>#include <linux/slab.h>externstructkmem_cache*fanotify_event_cachep;structfanotify_event_info{structfsnotify_eventfse;/* * We hold ref to this path so it may be dereferenced at any point * during this object's lifetime */structpathpath;structpid*tgid;#ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONSu32response;/* userspace answer to question */#endif};staticinlinestructfanotify_event_info*FANOTIFY_E(structfsnotify_event*fse){returncontainer_of(fse,structfanotify_event_info,fse);}