ext2: Convert ext2_empty_dir() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 21 Sep 2023 20:07:43 +0000 (21:07 +0100)
committerJan Kara <jack@suse.cz>
Wed, 25 Oct 2023 18:19:01 +0000 (20:19 +0200)
commitf4b830cfceffb05d8feb899fbd28fd592f1bb0ae
treea81713e094af85fac91f8a7be60ef55b8e30dff6
parent1de0736c3af9dadb688cad23871f9760ff22265f
ext2: Convert ext2_empty_dir() to use a folio

Save two calls to compound_head() by using the folio API.

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