]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/eventpoll.c
exec: load_script: Do not exec truncated interpreter path
[mirror_ubuntu-bionic-kernel.git] / fs / eventpoll.c
index afd548ebc32820ab0888ca82cc8f2fdde2de170d..3e21da7067cac49376691a0589fba3400bf21f81 100644 (file)
@@ -1147,7 +1147,7 @@ static int ep_poll_callback(wait_queue_entry_t *wait, unsigned mode, int sync, v
         * semantics). All the events that happen during that period of time are
         * chained in ep->ovflist and requeued later on.
         */
-       if (unlikely(ep->ovflist != EP_UNACTIVE_PTR)) {
+       if (ep->ovflist != EP_UNACTIVE_PTR) {
                if (epi->next == EP_UNACTIVE_PTR) {
                        epi->next = ep->ovflist;
                        ep->ovflist = epi;