Skip to content

Commit

Permalink
[PATCH] eventpoll.c compile fix
Browse files Browse the repository at this point in the history
Fix two compile failures in eventpoll.c code which would happen if
DEBUG_EPOLL is bigger than zero.

Signed-off-by: Masoud Sharbiani <[email protected]>
Cc: Davide Libenzi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Masoud Asgharifard Sharbiani authored and Linus Torvalds committed Aug 27, 2006
1 parent e88d78f commit 45f17e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/eventpoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ static int ep_unlink(struct eventpoll *ep, struct epitem *epi)
eexit_1:

DNPRINTK(3, (KERN_INFO "[%p] eventpoll: ep_unlink(%p, %p) = %d\n",
current, ep, epi->file, error));
current, ep, epi->ffd.file, error));

return error;
}
Expand Down Expand Up @@ -1236,7 +1236,7 @@ static int ep_poll_callback(wait_queue_t *wait, unsigned mode, int sync, void *k
struct eventpoll *ep = epi->ep;

DNPRINTK(3, (KERN_INFO "[%p] eventpoll: poll_callback(%p) epi=%p ep=%p\n",
current, epi->file, epi, ep));
current, epi->ffd.file, epi, ep));

write_lock_irqsave(&ep->lock, flags);

Expand Down

0 comments on commit 45f17e0

Please sign in to comment.