Re: [PATCH] sysfs: Update the name hash for an entry after changing the namespace

From: Tom Goff
Date: Wed Apr 04 2012 - 16:49:59 EST


On Wed, Apr 04, 2012 at 12:22:36 -0700, Greg Kroah-Hartman wrote:
> On Wed, Apr 04, 2012 at 12:06:20PM -0700, Tom Goff wrote:
> > This is needed to allow renaming network devices that have been moved
> > to another network namespace.
> >
> > Signed-off-by: Tom Goff <thomas.goff@xxxxxxxxxx>
> > ---
> > fs/sysfs/dir.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Is this a bug in 3.4-rc1 and older kernels? If so, how old?
>
> thanks,
>
> greg k-h

Yes, this is a bug in 3.4-rc1. The patch is really a change to
d5c38b137ac8a6e3dbed13bc494d60df5b69dfc4 'sysfs: Update the name hash
when renaming sysfs entries', committed on January 31.

Thanks for looking at this.

Tom
--
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/