From: Christoph Hellwig Date: Fri, 23 Dec 2005 05:08:46 +0000 (-0800) Subject: [NET]: restructure sock_aio_{read,write} / sock_{readv,writev} X-Git-Tag: v2.6.16-rc1~474^2~22^2~9^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b;p=pandora-kernel.git [NET]: restructure sock_aio_{read,write} / sock_{readv,writev} Mid-term I plan to restructure the file_operations so that we don't need to have all these duplicate aio and vectored versions. This patch is a small step in that direction but also a worthwile cleanup on it's own: (1) introduce a alloc_sock_iocb helper that encapsulates allocating a proper sock_iocb (2) add do_sock_read and do_sock_write helpers for common read/write code Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller --- Reading git-diff-tree failed