]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 20 Nov 2023 21:16:36 +0000 (13:16 -0800)
commitcf087d75fea3c72b2d43f7478225dccc9724ae5e
treed025ce56d8d59753455b9df12db029526eb9e7f7
parent42cf87baa91694104709530ccab27e7992b62c92
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