• Andreas Gruenbacher's avatar
    gfs2: Variable rename · 42e4c3bd
    Andreas Gruenbacher authored
    Instead of counting the number of bytes read from the filesystem,
    functions gfs2_file_direct_read and gfs2_file_read_iter count the number
    of bytes written into the user buffer.  Conversely, functions
    gfs2_file_direct_write and gfs2_file_buffered_write count the number of
    bytes read from the user buffer.  This is nothing but confusing, so
    change the read functions to count how many bytes they have read, and
    the write functions to count how many bytes they have written.
    Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
    42e4c3bd
file.c 39.9 KB