Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 7 Jan 2004 14:34:11 -0800 | From | Greg KH <> | Subject | Re: Inconsistency in sysfs behavior? |
| |
On Wed, Jan 07, 2004 at 05:24:08PM -0500, Alan Stern wrote: > The real problem was finding a way to indicate that the file was > disconnected from its kobject. I did that by setting > dentry->d_inode->i_mode to 0. (I didn't want to erase dentry->d_fsdata > for fear that it might be needed somewhere else.) That's definitely not a > good way; it was intended only for my proof-of-principle. No doubt > someone else could do a much better job.
Because this is the hardest part, it's easier just to have the behavior we currently have :)
thanks,
greg k-h - 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/
| ![\](/images/icornerr.gif) |