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

From: David Brownell (david-b@pacbell.net)
Date: Thu Mar 27 2003 - 18:34:51 EST


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.
>
>

-
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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:30 EST