Re: [PATCH] Fix potential OOPS in generic_setlease() (v2)
OK, this version I can't see any more problem with. Thanks! --b. On Thu, Sep 20, 2007 at 12:48:32PM +0400, Pavel Emelyanov wrote: > This code is run under lock_kernel(), which is dropped during > sleeping operations, so the following race is possible: > > CPU1:CP
[PATCH] Fix potential OOPS in generic_setlease() (v2)
This code is run under lock_kernel(), which is dropped during sleeping operations, so the following race is possible: CPU1:CPU2: vfs_setlease();vfs_setlease(); lock_kernel(); lock_kernel(); /* spin */ ge