Re: lockdep splat: nfsroot on 2.6.39-rc2

From: Will Simoneau
Date: Mon Apr 11 2011 - 03:23:27 EST


On 14:02 Mon 11 Apr , Dave Chinner wrote:
> On Sat, Apr 09, 2011 at 10:55:02PM -0400, Will Simoneau wrote:
> > This seems to happen consistently when running "apt-get update". Ideas?
> > Known bug?
>
> The bug is in nfs_commit_inode(), where it calls nfs_scan_commit()
> with the inode->i_lock held and that calls __mark_inode_dirty()
> which takes the inode->i_lock....
>
> The patch below should fix this problem.

I can confirm that your patch fixes the issue. Thanks for the fix!

Tested-by: Will Simoneau <simoneau@xxxxxxxxxxx>

Attachment: pgp00000.pgp
Description: PGP signature