From: Alexey Dobriyan Date: Wed, 2 Sep 2009 00:52:57 +0000 (-0700) Subject: ide: convert to ->proc_fops X-Git-Tag: v2.6.32-rc1~674^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d703a81ad5fdd102334751ddacb053ecc6ff046;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed