]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/fsnotify.c
fanotify: do not always return 0 in fsnotify
[net-next-2.6.git] / fs / notify / fsnotify.c
index 66826862789421ed0760317b4bff7f45e62dc3d9..9810babb1a3be7fff5c3e90bd157f1b2dc0c07e7 100644 (file)
@@ -269,7 +269,7 @@ out:
        if (event)
                fsnotify_put_event(event);
 
-       return 0;
+       return ret;
 }
 EXPORT_SYMBOL_GPL(fsnotify);