fsnotify: rename event handling functions
[cascardo/linux.git] / fs / notify / fanotify / fanotify_user.c
index 3fdc8a3..fbf2210 100644 (file)
@@ -66,7 +66,7 @@ static struct fsnotify_event *get_one_event(struct fsnotify_group *group,
 
        /* held the notification_mutex the whole time, so this is the
         * same event we peeked above */
-       return fsnotify_remove_notify_event(group);
+       return fsnotify_remove_first_event(group);
 }
 
 static int create_fd(struct fsnotify_group *group,