Re: [PATCH] Driver-core: Fix bluetooth network device rename regression
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2010-07-22 18:37:24
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2010-07-22 18:37:24
On Thu, 2010-07-22 at 11:28 -0700, Greg KH wrote:
It worked only because no one realized that it was broken with the DEPRECATED option enabled. When that is enabled, it is broken, right?
I'm pretty sure I always had that enabled, and never had issues. Can't test right now since I don't have that option back yet in the tree I'm using.
Eric's changes to sysfs to add namespace support exposed this breakage. That's not a reason to paper over the problem, but it should be driving someone to fix it correctly, as has been pointed out a number of times already.
I'm just contesting that that someone should be me. I don't think you get to blame driver developers for doing something that worked and solved the problem they needed to solve. sysfs is largely opaque to most of us already, and it now sure feels like Kay decided to change the rules underneath the code in saying "this was wrong all along". johannes