From abdadb51b324f8f2c569c970eb458a931693cf85 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 14 Jan 2013 20:48:00 +0400 Subject: [PATCH] fsnotify: Extend fsnotify_mark_info to carry fanotify marks 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 4181c8fe2..da972fd4b 100644 --- a/fsnotify.c +++ b/fsnotify.c @@ -43,7 +43,10 @@ struct fsnotify_mark_info { struct list_head list; - InotifyWdEntry *iwe; + union { + InotifyWdEntry *iwe; + FanotifyMarkEntry *fme; + }; struct file_remap *remap; };