Re: [RFC] fix sysfs symlinks

viro
2004-04-14T07:02:30Z

On Wed, Apr 14, 2004 at 12:10:16PM +0530, Maneesh Soni wrote:
> I am not sure, if pinning the kobject for the life time of symlink (dentry)
> may result in same problems like rmmod hang which we saw in case of pinning
> kobject for the life time of its directory (dentry).

Erm... If rmmod _ever_ waits for refcount on kobject to reach zero, it's
already broken. Do you have any examples of such behaviour?

> + pr_debug("%s: path = '%s'\n", __FUNCTION__, path);
> +
> + return error;

ITYM
return 0;

BTW, replace leading spaces with tab, please - you've got a tabdamage
very visible in patch.