fs/buffer: convert create_page_buffers to folio_create_buffers
authorPankaj Raghav <p.raghav@samsung.com>
Mon, 17 Apr 2023 12:36:18 +0000 (14:36 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Apr 2023 21:52:01 +0000 (14:52 -0700)
commitc6c8c3e7b47d7d20952202e7568389a5e3b043dd
tree9959bdeed86938dbb47ee0e17454adf66605520b
parent8e2e17560bed73c2a73c94cbe378719f6cf850ee
fs/buffer: convert create_page_buffers to folio_create_buffers

fs/buffer do not support large folios as there are many assumptions on the
folio size to be the host page size.  This conversion is one step towards
removing that assumption.  Also this conversion will reduce calls to
compound_head() if folio_create_buffers() calls
folio_create_empty_buffers().

Link: https://lkml.kernel.org/r/20230417123618.22094-5-p.raghav@samsung.com
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/buffer.c