Re: [PATCH 2.6.24-rc7 2/2] sysfs: fix bugs in sysfs_rename/move_dir()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tejun Heo <htejun@...>
Cc: Linus Torvalds <torvalds@...>, Linux Kernel <linux-kernel@...>, Gabor Gombas <gombasg@...>, Greg KH <greg@...>, Dave Young <hidave.darkstar@...>, <bluez-devel@...>
Date: Thursday, January 17, 2008 - 12:22 am

On Wed, Jan 16, 2008 at 04:23:13PM +0900, Tejun Heo wrote:


How about "what happens after that move-to-NULL if you have a cwd inside
the subtree", for starters?


No, but I'd rather see the rules for callers of sysfs/kobject primitives
spelled out - before cleanups or review become even possible.
 

Umm...  IIRC, there'd been a lot of fun with tty and procfs sides of that;
will check.


OK...  You do have a point, but at this stage I'm not convinced that this
thing is safe and usable.  I agree that patches do not make things worse,
but I suspect that the real problem with kobject_move() is that it's a
fundamentally broken interface.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2.6.24-rc7 2/2] sysfs: fix bugs in sysfs_rename/m..., Al Viro, (Thu Jan 17, 12:22 am)