Re: [PATCH] sysfs: use different lockdep subclass for s_activedeactivation
From: Greg KH
Date: Thu Apr 26 2007 - 11:26:19 EST
On Thu, Apr 26, 2007 at 11:50:47PM +0900, Tejun Heo wrote:
> A sysfs node can delete other sysfs files when accessed. This results
> in recursive s_active locking - read lock for file access, down lock
> of the vicitim for deactivation. Tell lockdep that it's okay.
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> Miles, please test this patch. It should remove the lockdep warning.
> Fixes for the other two problems will soon follow.
> Greg, Andrew, after all the fixes are verified, I'll merge the fixes
> into the original patches and resend all the sysfs updates in better
> shape. Sorry about all the trouble.
Thanks, that will make it easier for me, as I've seen a lot of them go
floating by recently :)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/