Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fput in loop_clr_fd

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Young
Date: Sunday, April 27, 2008 - 7:33 pm

On Mon, Apr 28, 2008 at 10:15 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:

Hi, Maybe I have some mis-understood, thanks for pointing out in advance.

IMO the lo_ctl_mutex is for the lo->* state locking,  they are all set
to proper values before fput(filp), so I think it's safe to do that.


open with a loop device unbound? Sorry, I don't understand.  Could you
explain a bit? Thanks

Regards
dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while f ..., Dave Young, (Sun Apr 27, 7:33 pm)