Re: [PATCH 2/6] fs: rename and move block_page_mkwrite_return

From: Hannes Reinecke
Date: Thu Jul 20 2023 - 11:45:38 EST


On 7/20/23 16:04, Christoph Hellwig wrote:
block_page_mkwrite_return is neither block nor mkwrite specific, and
should not be under CONFIG_BLOCK. Move it to mm.h and rename it to
vmf_fs_error.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
fs/ext4/inode.c | 2 +-
fs/f2fs/file.c | 2 +-
fs/gfs2/file.c | 16 ++++++++--------
fs/iomap/buffered-io.c | 2 +-
fs/nilfs2/file.c | 2 +-
fs/udf/file.c | 2 +-
include/linux/buffer_head.h | 12 ------------
include/linux/mm.h | 18 ++++++++++++++++++
8 files changed, 31 insertions(+), 25 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman