[lkml]   [2011]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] loop: fput() called in loop_clr_fd() may cause bd_mutex recursive locking
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.

 \ /
  Last update: 2011-12-18 00:41    [W:0.079 / U:0.296 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site