sysfs abuse in recent i2o changes

From: Christoph Hellwig
Date: Tue Jun 28 2005 - 06:21:48 EST


drivers/message/i2o/config-osm.c has a function sysfs_create_fops_file,
which creates a sysfs file with supplied file_operations. This is
pretty much against the sysfs design which only wants simple attributes,
ascsii or for corner cases binary.

Also, if we're going to allow this code it should move to sysfs. And
stop using lookup_hash directly (use lookup_one_len instead), it'll go
away soon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/