audit: Receive unmount event
[sfrench/cifs-2.6.git] / kernel / audit_watch.c
index 1c7ded42f82f0e8130b9cbf6b45b67648736a0f7..d1b5857b7e3302989c36bc2d8231c29bfdae3150 100644 (file)
@@ -66,7 +66,7 @@ static struct fsnotify_group *audit_watch_group;
 
 /* fsnotify events we care about. */
 #define AUDIT_FS_WATCH (FS_MOVE | FS_CREATE | FS_DELETE | FS_DELETE_SELF |\
-                       FS_MOVE_SELF | FS_EVENT_ON_CHILD)
+                       FS_MOVE_SELF | FS_EVENT_ON_CHILD | FS_UNMOUNT)
 
 static void audit_free_parent(struct audit_parent *parent)
 {