From e73f99300d2dfdefa8104dcd6eb6b5bd4fc926a8 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 14 Jan 2013 20:48:02 +0400 Subject: [PATCH] fsnotify: Extend fsnotify_file_info to carry fanotify file entries Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- fsnotify.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fsnotify.c b/fsnotify.c index b8e804dbe..cd52ed6af 100644 --- a/fsnotify.c +++ b/fsnotify.c @@ -52,7 +52,10 @@ struct fsnotify_mark_info { struct fsnotify_file_info { struct list_head list; - InotifyFileEntry *ife; + union { + InotifyFileEntry *ife; + FanotifyFileEntry *ffe; + }; struct list_head marks; struct file_desc d; };