diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-31 05:58:05 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 20:13:14 +0200 |
commit | 0ffddfbb834557b8babc7f050b83d11dbcbb1008 (patch) | |
tree | 620afe52d29443b4ad10f805afe6b22d43349e5f /drivers/scsi/sym53c8xx_2 | |
parent | procfs: don't allow to use proc_create, create_proc_entry, etc. for directories (diff) | |
download | linux-0ffddfbb834557b8babc7f050b83d11dbcbb1008.tar.xz linux-0ffddfbb834557b8babc7f050b83d11dbcbb1008.zip |
scsi: saner replacements for ->proc_info()
It's still an obsolete interface; don't introduce those in new drivers.
However, it's saner than the ->proc_info() and commits after this one
will convert the existing ->proc_info() users to it.
The read side is ->show_info(seq_file *, struct Scsi_Host *); use
seq_... for generating contents.
The write side is ->write_info(struct Scsi_Host *, char *, int).
Again, this is driven by procfs needs; we are going to kill ->write_proc()
and ->read_proc() and this is the main obstacle to burying that piece of
shit.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
0 files changed, 0 insertions, 0 deletions