diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-07-18 16:49:08 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-11-06 03:51:25 +0300 |
commit | d6d64dac1d3967f3e951ae1cf2753181b78f2f89 (patch) | |
tree | faebe55c4bfcf64a3fd0d74a5f8df3caad6391bf /fs/gfs2/dir.h | |
parent | 4c7b3f7fb7c8c66d669d107e717f9de41ef81e92 (diff) | |
download | linux-d6d64dac1d3967f3e951ae1cf2753181b78f2f89.tar.xz |
gfs2: Minor gfs2_write_jdata_batch PAGE_SIZE cleanup
In gfs2_write_jdata_batch(), to compute the number of blocks, compute
the total size of the folio batch instead of the number of pages it
contains. Not a functional change.
Note that we don't currently allow mounting filesystems with a block
size bigger than the page size. We could change that after converting
the page cache to folios. The page cache would then only contain
block-size or bigger folios, so rounding wouldn't become an issue here.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.h')
0 files changed, 0 insertions, 0 deletions