Re: [patch 1/1] Convert the semaphore to a mutex in net/tipc/socket.c

2007-12-12 Thread David Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Tue, 11 Dec 2007 16:44:45 -0800 > So I'd propose this: I've applied this to net-2.6, thanks Andrew. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch 1/1] Convert the semaphore to a mutex in net/tipc/socket.c

2007-12-12 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Tue, 11 Dec 2007 16:44:45 -0800 So I'd propose this: I've applied this to net-2.6, thanks Andrew. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch 1/1] Convert the semaphore to a mutex in net/tipc/socket.c

2007-12-11 Thread Andrew Morton
On Sun, 09 Dec 2007 21:17:42 -0400 Kevin Winchester <[EMAIL PROTECTED]> wrote: > Note also that in the release method, down_interruptible() was being called > without checking the return value. I converted it to > mutex_lock_interruptible() > and made the interrupted case return -ERESTARTSYS,

Re: [patch 1/1] Convert the semaphore to a mutex in net/tipc/socket.c

2007-12-11 Thread Andrew Morton
On Sun, 09 Dec 2007 21:17:42 -0400 Kevin Winchester [EMAIL PROTECTED] wrote: Note also that in the release method, down_interruptible() was being called without checking the return value. I converted it to mutex_lock_interruptible() and made the interrupted case return -ERESTARTSYS, as was