lkml.org 
[lkml]   [2009]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sysfs: Reference sysfs_dirent from sysfs inodes.
Eric W. Biederman wrote:
> The sysfs_dirent serves as both an inode and a directory entry
> for sysfs. To prevent the sysfs inode numbers from being freed
> prematurely hold a reference to sysfs_dirent from the sysfs inode.
>
> Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>

Thanks for working on this. Can you please add a comment explaining
it on top of sysfs_delete_inode()?

--
tejun


\
 
 \ /
  Last update: 2009-01-23 07:37    [W:0.143 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site