• E
    9p: consolidate read/write functions · 0fc9655e
    Eric Van Hensbergen 提交于
    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: NEric Van Hensbergen <ericvh@gmail.com>
    
    
    
    0fc9655e
vfs_file.c 4.9 KB