2024-04-20 02:51:34

by Matthew Wilcox

[permalink] [raw]
Subject: [PATCH 09/30] ext2: Remove call to folio_set_error()

Nobody checks this flag on ext2 folios, stop setting it.

Cc: Jan Kara <[email protected]>
Cc: [email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
---
fs/ext2/dir.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
index 4fb155b5a958..087457061c6e 100644
--- a/fs/ext2/dir.c
+++ b/fs/ext2/dir.c
@@ -175,7 +175,6 @@ static bool ext2_check_folio(struct folio *folio, int quiet, char *kaddr)
(unsigned long) le32_to_cpu(p->inode));
}
fail:
- folio_set_error(folio);
return false;
}

--
2.43.0