]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/fsnotify.c
fsnotify: cleanup should_send_event
[net-next-2.6.git] / fs / notify / fsnotify.c
index 59d639996cad6e0da3f6e85760ccd6432cb2bb68..53b31f46d698c9d000437ced9fa8db342a041105 100644 (file)
@@ -180,8 +180,8 @@ static int send_to_group(struct fsnotify_group *group, struct inode *to_tell,
                 " data_is=%d cookie=%d event=%p\n", __func__, group, to_tell,
                 mnt, mark, mask, data, data_is, cookie, *event);
 
-       if (!group->ops->should_send_event(group, to_tell, mnt, mark, mask,
-                                          data, data_is))
+       if (group->ops->should_send_event(group, to_tell, mnt, mark, mask,
+                                         data, data_is) == false)
                return 0;
        if (!*event) {
                *event = fsnotify_create_event(to_tell, mask, data,