]> git.hungrycats.org Git - linux/commit
[PATCH] sparse: beginning of iovec cleanups - infrastructure
authorAlexander Viro <viro@www.linux.org.uk>
Fri, 16 Jul 2004 05:04:13 +0000 (22:04 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 16 Jul 2004 05:04:13 +0000 (22:04 -0700)
commit17047580a54f53a379ece11a5347a58f77104ae3
tree8d5bbe6f1851eab2e8892d334d13dad1c1656151
parent333306d0a9535b298ba4f58e5da3293be64c4493
[PATCH] sparse: beginning of iovec cleanups - infrastructure

Beginning of iovec cleanups - added two helpers (kernel_{send,recv}msg)
that do sock_sendmsg/sock_recvmsg with kvec instead of iovec; basically,
they were abstracted from earlier afs patch.  They take kvec/length of
kvec as separate arguments, do set_fs(), stick kvec into msghdr and call
sock_...msg().

The next group of patches will switch network filesystems to use of kvec
for kernel data + use of these helpers.  Basically, the same thing we'd
done for afs.
include/linux/net.h
net/socket.c