Messages in this thread | | | Date | Wed, 28 May 2008 08:49:43 -0600 | From | Matthew Wilcox <> | Subject | Re: [PATCH][-mm] reclassify sg_sysfs_class for lockdep |
| |
On Tue, May 27, 2008 at 06:10:09PM +0800, Dave Young wrote: > As register sg_interface, the sg_add will be called, which then will > add device to sg_sysfs_class. This will cause lockdep warning, > please see following email > > In this case the locks are from diffrent classi, one is sdev_class, > another is sg_sysfs_class > > Here reclassify the sg_sysfs_class for lockdep
Look, you've been told how to do this properly. Send me the patch that does the mutex conversion and I'll do a patch on top of that. I have no inclination to go wading in the cesspool of patches that is mm trying to find yours.
-- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."
| |