[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <497964CC.8070004@kernel.org>
Date: Fri, 23 Jan 2009 15:33:48 +0900
From: Tejun Heo <tj@...nel.org>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
CC: Greg Kroah-Hartman <gregkh@...e.de>, linux-kernel@...r.kernel.org,
Al Viro <viro@...IV.linux.org.uk>,
Cornelia Huck <cornelia.huck@...ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [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@...stanetworks.com>
Thanks for working on this. Can you please add a comment explaining
it on top of sysfs_delete_inode()?
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists