Re: 2.5.recent: device_remove_file() doesn't

David Brownell
2003-03-27T23:12:15Z

Thanks, it resolved that problem.

- Dave

> --- 1.84/fs/sysfs/inode.c Tue Mar 11 15:30:18 2003
> +++ edited/fs/sysfs/inode.c Thu Mar 27 11:53:44 2003
> @@ -97,7 +97,7 @@
> atomic_read(&victim->d_count));
>
> simple_unlink(dir->d_inode,victim);
> -
> + d_delete(victim);
> }
> /*
> * Drop reference from sysfs_get_dentry() above.
>
>