Messages in this thread | | | Date | Sun, 18 Dec 2011 02:47:30 +0300 | From | Sergey Senozhatsky <> | Subject | Re: [PATCH] loop: fput() called in loop_clr_fd() may cause bd_mutex recursive locking |
| |
On (12/17/11 23:38), Al Viro wrote: > On Sun, Dec 18, 2011 at 02:20:53AM +0300, Sergey Senozhatsky wrote: > > > > IOW, we have to prevent such setups anyway and not just because of > > > problems on close() - they would be deadly on read() and write()... > > > > > > > Preventing recursion in the first place? For example, in lo_open()? > > Uh? No, in loop_set_fd(), where we decide what loop devices will be > backed by what - the code I quoted to you upthread. >
Oops, sorry. Long day at work . Need to sleep.
Sergey
| |