ide: convert to ->proc_fops
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 2 Sep 2009 00:52:57 +0000 (17:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:52:57 +0000 (17:52 -0700)
->read_proc, ->write_proc are going away, ->proc_fops should be used instead.

The only tricky place is IDENTIFY handling: if for some reason
taskfile_lib_get_identify() fails, buffer _is_ changed and at least
first byte is overwritten. Emulate old behaviour with returning
that first byte to userspace and reporting length=1 despite overall -E.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found