fs: convert error_remove_page to error_remove_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Nov 2023 16:14:47 +0000 (16:14 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:42 +0000 (16:51 -0800)
commitaf7628d6ec196999175ecb3fdb38336489b0f88a
tree81e25bb6e46f83b6975c217c87f456e6bfc6bf8c
parente130b6514e14e98ad1f59bf1fc0a5c0f21c6d8ab
fs: convert error_remove_page to error_remove_folio

There were already assertions that we were not passing a tail page to
error_remove_page(), so make the compiler enforce that by converting
everything to pass and use a folio.

Link: https://lkml.kernel.org/r/20231117161447.2461643-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
23 files changed:
Documentation/filesystems/locking.rst
Documentation/filesystems/vfs.rst
block/fops.c
fs/afs/write.c
fs/bcachefs/fs.c
fs/btrfs/inode.c
fs/ceph/addr.c
fs/ext2/inode.c
fs/ext4/inode.c
fs/f2fs/compress.c
fs/f2fs/inode.c
fs/gfs2/aops.c
fs/hugetlbfs/inode.c
fs/nfs/file.c
fs/ntfs/aops.c
fs/ocfs2/aops.c
fs/xfs/xfs_aops.c
fs/zonefs/file.c
include/linux/fs.h
include/linux/mm.h
mm/memory-failure.c
mm/shmem.c
mm/truncate.c