Re: partition sysfs OOPS in current GIT

From: Greg KH
Date: Thu Feb 07 2008 - 02:37:57 EST


On Wed, Feb 06, 2008 at 11:24:51PM -0800, David Miller wrote:
> From: Greg KH <gregkh@xxxxxxx>
> Date: Wed, 6 Feb 2008 23:20:30 -0800
>
> > It's odd that the original one didn't also do that,
>
> In the old code it would vector through part_sysfs_ops (look at how it
> works before the changeset), which returns 0 if the attribute lacked a
> ->show method.

Ah, yeah, what a fun hack... Makes sense though. The updated patch I
send you should do the same thing, just with an additional function
needed.

thanks,

greg k-h
--
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/