login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
28
Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fput in loop_clr_fd
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Al Viro <viro@...>
To: Dave Young <hidave.darkstar@...>
Cc: <linux-kernel@...>, <jens.axboe@...>
Subject:
Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fput in loop_clr_fd
Date: Sunday, April 27, 2008 - 10:13 pm
On Mon, Apr 28, 2008 at 10:10:22AM +0800, Dave Young wrote:
quoted text
> [Fixing bug 10504] > > If the bakingfile is a block device file, losetuo -d will trigger lockdep > warning of "circular locking dependency". > > open/release lock order : bdev->bd_mutex ---> lo->lo_ctl_mutex > loop_clr_fd lock order : lo->lo_ctl_mutex ---> bdev->bd_mutex (fput) > > Don't hold the lo_ctl_mutex while fput in loop_clr_fd to fix it. It's safe > because all loop device state will be consistent here.
Explain. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fput in...
, Dave Young
, (Sun Apr 27, 10:10 pm)
Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fpu...
, Al Viro
, (Sun Apr 27, 10:13 pm)
Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fpu...
, Al Viro
, (Sun Apr 27, 10:15 pm)
Re: [PATCH 2/2] loop : Don't hold the lo_ctl_mutex while fpu...
, Dave Young
, (Sun Apr 27, 10:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
KOSAKI Motohiro
[bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Faik Uygur
Re: Linux 2.6.21-rc1
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jens Axboe
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
877 guests
online.
Online users
zeekec
sandrasands
Syndicate