Updated to 2.6.32.27
/fs/notify/inotify/inotify_fsnotify.c
blob:e27960cd76ab9046257826783d907bdb6f3ca2a8 -> blob:5d3d2a782abcf00438f82e6c1cff75c44cc059ca
--- fs/notify/inotify/inotify_fsnotify.c
+++ fs/notify/inotify/inotify_fsnotify.c
@@ -72,6 +72,9 @@ static int inotify_handle_event(struct f
ret = 0;
}
+ if (entry->mask & IN_ONESHOT)
+ fsnotify_destroy_mark_by_entry(entry);
+
/*
* If we hold the entry until after the event is on the queue
* IN_IGNORED won't be able to pass this event in the queue