bcachefs: Don't write past eof
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 19 Sep 2019 22:05:04 +0000 (18:05 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:27 +0000 (17:08 -0400)
commit6cc3535dcbb8bca4df496b9beac8f4c664958fce
tree2f9922c7e7c24f27a69ea3aa3ad8b9b8da2119b8
parent9c37b63207e4257cf5a14a412c6b586ae47680be
bcachefs: Don't write past eof

When converting from PAGE_SIZE to block_size, the .mkwrite path was
missed

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c