Re: [PATCH] Driver-core: Fix bluetooth network device rename regression
From: Greg KH <gregkh@suse.de>
Date: 2010-07-22 18:56:24
On Thu, Jul 22, 2010 at 08:36:41PM +0200, Johannes Berg wrote:
On Thu, 2010-07-22 at 11:28 -0700, Greg KH wrote:quoted
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.quoted
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".
Well, if it worked before, and it doesn't now, that's due to Eric's changes, nothing Kay and I did here :) But, in looking at it closer, it does seem that the code is doing things that was not expected to work at all previously, and It's amazing that it did. I thought Kay offered to help fix it all up, and provided 2 different ways to do it. I know they aren't trivial, but then again, your usage of sysfs is not trivial either... thanks, greg k-h