diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-14 01:36:17 (GMT) |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 16:04:42 (GMT) |
commit | 0fc9655ec67ec5d4dfd08e469e0e9f0a494bf5bc (patch) | |
tree | fc67e000acb43601a0dcb9c0288a94a3d737b6a2 /net/9p/Kconfig | |
parent | 95820a36516d12dcb49d066dd3d5b187a2557612 (diff) | |
download | linux-0fc9655ec67ec5d4dfd08e469e0e9f0a494bf5bc.tar.xz |
9p: consolidate read/write functions
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>
Diffstat (limited to 'net/9p/Kconfig')
0 files changed, 0 insertions, 0 deletions