block_page_mkwrite_return is neither block nor mkwrite specific, andReviewed-by: Hannes Reinecke <hare@xxxxxxx>
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(-)