Re: [PATCH] Consolidate sleeping routines in file locking code

2007-09-21 Thread Pavel Emelyanov
J. Bruce Fields wrote: > On Thu, Sep 20, 2007 at 01:09:51PM +0400, Pavel Emelyanov wrote: >> J. Bruce Fields wrote: >>> On Tue, Sep 18, 2007 at 05:41:08PM +0400, Pavel Emelyanov wrote: This is the next step in fs/locks.c cleanup before turning it into using the struct pid *. Th

Re: [PATCH] Consolidate sleeping routines in file locking code

2007-09-20 Thread J. Bruce Fields
On Thu, Sep 20, 2007 at 01:09:51PM +0400, Pavel Emelyanov wrote: > J. Bruce Fields wrote: > > On Tue, Sep 18, 2007 at 05:41:08PM +0400, Pavel Emelyanov wrote: > >> This is the next step in fs/locks.c cleanup before turning > >> it into using the struct pid *. > >> > >> This time I found, that ther

Re: [PATCH] Consolidate sleeping routines in file locking code

2007-09-20 Thread Pavel Emelyanov
J. Bruce Fields wrote: > On Tue, Sep 18, 2007 at 05:41:08PM +0400, Pavel Emelyanov wrote: >> This is the next step in fs/locks.c cleanup before turning >> it into using the struct pid *. >> >> This time I found, that there are some places that do a >> similar thing - they try to apply a lock on a

Re: [PATCH] Consolidate sleeping routines in file locking code

2007-09-19 Thread J. Bruce Fields
On Tue, Sep 18, 2007 at 05:41:08PM +0400, Pavel Emelyanov wrote: > This is the next step in fs/locks.c cleanup before turning > it into using the struct pid *. > > This time I found, that there are some places that do a > similar thing - they try to apply a lock on a file and go > to sleep on er