lkml.org 
[lkml]   [2004]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.025 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site