ext2: Convert ext2_unlink() and ext2_rename() to use folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 21 Sep 2023 20:07:45 +0000 (21:07 +0100)
committerJan Kara <jack@suse.cz>
Wed, 25 Oct 2023 18:31:29 +0000 (20:31 +0200)
commitc2d20492e28c1071abfdc079f4d34acaf965b9b4
tree9834c8092499a88f4459f7d43b21bca4b9e20952
parent7e56bbf15d95b888f781b67f4ed2f3e08edc899a
ext2: Convert ext2_unlink() and ext2_rename() to use folios

This involves changing ext2_find_entry(), ext2_dotdot(),
ext2_inode_by_name(), ext2_set_link() and ext2_delete_entry() to
take a folio.  These were also the last users of ext2_get_page() and
ext2_put_page(), so remove those at the same time.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230921200746.3303942-8-willy@infradead.org>
fs/ext2/dir.c
fs/ext2/ext2.h
fs/ext2/namei.c