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

From: Greg Kroah-Hartman
Date: Wed Apr 04 2012 - 17:08:21 EST


On Wed, Apr 04, 2012 at 01:30:04PM -0700, Tom Goff wrote:
> 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.

Good, that patch only went into 3.4-rc1 and nothing newer, I'll queue
this up for 3.4-only, thanks for letting me know.

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/