]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/eventpoll.c
pid namespaces: rename child_reaper() function
[mv-sheeva.git] / fs / eventpoll.c
index 77b9953624f480e37d80fb13010fb3e1bc8b3c51..de61892919549d84d2add0d7db5b8c16de1ca521 100644 (file)
@@ -463,7 +463,7 @@ static void ep_free(struct eventpoll *ep)
         * holding "epmutex" we can be sure that no file cleanup code will hit
         * us during this operation. So we can avoid the lock on "ep->lock".
         */
-       while ((rbp = rb_first(&ep->rbr)) != 0) {
+       while ((rbp = rb_first(&ep->rbr)) != NULL) {
                epi = rb_entry(rbp, struct epitem, rbn);
                ep_remove(ep, epi);
        }