Files
linux-stable-mirror/fs
Andreas GruenbacherandGreg Kroah-Hartman 4750fc5f50 gfs2: jdata writepage fix
[ Upstream commit cbb60951ce ]

The ->writepage() and ->writepages() operations are supposed to write
entire pages.  However, on filesystems with a block size smaller than
PAGE_SIZE, __gfs2_jdata_writepage() only adds the first block to the
current transaction instead of adding the entire page.  Fix that.

Fixes: 18ec7d5c3f ("[GFS2] Make journaled data files identical to normal files on disk")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:25 +01:00
..
2023-01-07 11:11:40 +01:00
2023-03-10 09:33:25 +01:00
2023-03-10 09:33:22 +01:00
2023-02-22 12:59:46 +01:00
2023-01-04 11:29:01 +01:00