fanotify: store fsid in mark instead of in connector
[linux-2.6-microblaze.git] / fs / notify / fanotify / fanotify.h
index 6936671..f3b9ef6 100644 (file)
@@ -489,6 +489,16 @@ static inline unsigned int fanotify_event_hash_bucket(
        return event->hash & FANOTIFY_HTABLE_MASK;
 }
 
+struct fanotify_mark {
+       struct fsnotify_mark fsn_mark;
+       __kernel_fsid_t fsid;
+};
+
+static inline struct fanotify_mark *FANOTIFY_MARK(struct fsnotify_mark *mark)
+{
+       return container_of(mark, struct fanotify_mark, fsn_mark);
+}
+
 static inline unsigned int fanotify_mark_user_flags(struct fsnotify_mark *mark)
 {
        unsigned int mflags = 0;