All of lore.kernel.org
 help / color / mirror / Atom feed
* eventpoll.c compile fix
@ 2006-08-24  2:54 Masoud Asgharifard Sharbiani
  0 siblings, 0 replies; only message in thread
From: Masoud Asgharifard Sharbiani @ 2006-08-24  2:54 UTC (permalink / raw)
  To: davidel; +Cc: akpm, linux-kernel

Hello,
The following patch fixes two compile failures in eventpoll.c code which would 
happen if DEBUG_EPOLL is bigger than zero.
cheers,
Masoud

Signed off by: Masoud Sharbiani <masouds@google.com>

diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 19ffb04..3a35674 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1168,7 +1168,7 @@ static int ep_unlink(struct eventpoll *e
 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;
 }
@@ -1236,7 +1236,7 @@ static int ep_poll_callback(wait_queue_t
 	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);
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-24  2:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24  2:54 eventpoll.c compile fix Masoud Asgharifard Sharbiani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.