public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sysfs abuse in recent i2o changes
@ 2005-06-28 11:21 Christoph Hellwig
  2005-06-28 15:02 ` Markus Lidel
  0 siblings, 1 reply; 11+ messages in thread
From: Christoph Hellwig @ 2005-06-28 11:21 UTC (permalink / raw)
  To: markus.lidel, gregkh; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-31 21:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-28 11:21 sysfs abuse in recent i2o changes Christoph Hellwig
2005-06-28 15:02 ` Markus Lidel
2005-06-28 16:21   ` Greg KH
2005-06-28 18:08     ` Markus Lidel
2005-06-28 18:07       ` Greg KH
2005-06-29  8:33         ` Markus Lidel
2005-07-08  6:00           ` Greg KH
2005-07-08 11:11             ` Markus Lidel
2005-07-31 14:09             ` Christoph Hellwig
2005-07-31 15:40               ` Markus Lidel
2005-07-31 21:19                 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox