gfs2: Variable rename
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 27 Apr 2022 11:53:42 +0000 (13:53 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 13 May 2022 20:00:22 +0000 (22:00 +0200)
commit42e4c3bdcae7833eeeaed7bf0c000c2de17dd291
tree70f072ec3e70211f34bf425b1b172a4ada39b21f
parentd031a8866e709c9d1ee5537a321b6192b4d2dc5b
gfs2: Variable rename

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: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/file.c