mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
0fc9655ec6
Currently there are two separate versions of read and write. One for dealing with user buffers and the other for dealing with kernel buffers. There is a tremendous amount of code duplication in the otherwise identical versions of these functions. This patch adds an additional user buffer parameter to read and write and conditionalizes handling of the buffer on whether the kernel buffer or the user buffer is populated. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com> |
||
---|---|---|
.. | ||
client.c | ||
conv.c | ||
error.c | ||
fcprint.c | ||
Kconfig | ||
Makefile | ||
mod.c | ||
trans_fd.c | ||
trans_virtio.c | ||
util.c |