Re: [TRIVIAL] avoid Oops in net/core/dev.c

Dan Aloni (da-x@gmx.net)
Sat, 28 Jun 2003 23:07:43 +0300


On Sat, Jun 28, 2003 at 12:41:02PM -0700, Greg KH wrote:
> On Sat, Jun 28, 2003 at 11:38:10AM +0300, Dan Aloni wrote:
> >
> > BTW2, the attempt to rename the device here doesn't affect
> > sysfs. Patrick, we need a class_device_* interface that does
> > this.
>
> That's a good idea (I'm the person to blame for the class_device code,
> not Pat.) Care to send a patch?

I have no patch, but I thought of either using lookup_one_len()
and then d_move() to create a new dentry or to rip out some
code out of vfs_rename_dir(). Anyway, I'm no VFS expert, so
no patch any time soon.

-- 
Dan Aloni
da-x@gmx.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/