[patch] fix for -> Re: iput: Aieee, semaphore in use inode 00:00/XXX,

Andrea Arcangeli (andrea@suse.de)
Mon, 6 Sep 1999 11:03:08 +0200 (CEST)


On Sun, 5 Sep 1999, Mike Galbraith wrote:

>After days of futzing, I resorted to good ole patch -R. Reversing
>the pipe changes in 2.3.15-final quelled the warnings. Not having

Yes, it was the new pipe code (the device of the inode was zero). Here it
is the fix:

--- 2.3.17-pre1-d117/fs/pipe.c.~1~ Wed Aug 25 03:40:00 1999
+++ 2.3.17-pre1-d117/fs/pipe.c Mon Sep 6 10:55:31 1999
@@ -213,7 +213,7 @@
wake_up_interruptible(PIPE_WAIT(*inode));
pipe_wait(inode);
if (signal_pending(current))
- goto out;
+ goto out_nolock;
if (down_interruptible(PIPE_SEM(*inode)))
goto out_nolock;
if (!PIPE_READERS(*inode))

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/