diff options
author | Christoph Hellwig <hch@lst.de> | 2005-12-22 21:08:46 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 13:11:18 -0800 |
commit | ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b (patch) | |
tree | 6bec428bddf30c88155d2523fc82a05f8e6876a6 /drivers/net/dgrs_i82596.h | |
parent | cbeb321a64af5437fbde249605b191ff0fdfa21c (diff) | |
download | blackbird-op-linux-ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b.tar.gz blackbird-op-linux-ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b.zip |
[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 <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dgrs_i82596.h')
0 files changed, 0 insertions, 0 deletions