]> 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)
commit536b9052fbf297b477fa46ea95631e9ac26d4ca3
tree70f072ec3e70211f34bf425b1b172a4ada39b21f
parent0602c52f23278921711a41ac488735ae9dbd4020
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