diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-09-02 02:52:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 02:52:57 +0200 |
commit | 6d703a81ad5fdd102334751ddacb053ecc6ff046 (patch) | |
tree | 1bebde3a0c34677296dc4784e800445ea02b4f0a /tools | |
parent | at91_ide: remove headers specific for at91sam9263 (diff) | |
download | linux-6d703a81ad5fdd102334751ddacb053ecc6ff046.tar.xz linux-6d703a81ad5fdd102334751ddacb053ecc6ff046.zip |
ide: convert to ->proc_fops
->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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions