[PATCH] mm/filemap: clarify filemap_fault() comments for not uptodate case

From: Lorenzo Stoakes
Date: Mon Oct 02 2023 - 02:37:24 EST


Correct identation as per Christopher's feedback.

Signed-off-by: Lorenzo Stoakes <lstoakes@xxxxxxxxx>
---
mm/filemap.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index 959694a2ade7..951709089f38 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -3314,10 +3314,10 @@ vm_fault_t filemap_fault(struct vm_fault *vmf)
*/
if (unlikely(!folio_test_uptodate(folio))) {
/*
- * If the invalidate lock is not held, the folio was in cache and
- * uptodate and now it is not. Strange but possible since we
- * didn't hold the page lock all the time. Let's drop everything,
- * get the invalidate lock and try again.
+ * If the invalidate lock is not held, the folio was in cache
+ * and uptodate and now it is not. Strange but possible since we
+ * didn't hold the page lock all the time. Let's drop
+ * everything, get the invalidate lock and try again.
*/
if (!mapping_locked) {
folio_unlock(folio);
--
2.42.0