]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb01ee0780dca957cbf3d49c6845196363817f098
tree70f072ec3e70211f34bf425b1b172a4ada39b21f
parent827507878635a92c22711f0dcc330e3a7394a606
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