[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070125043233.16260.83569.stgit@lade.trondhjem.org>
Date: Wed, 24 Jan 2007 20:32:33 -0800
From: Trond Myklebust <Trond.Myklebust@...app.com>
To: akpm@...l.org
Cc: Chuck Lever <chuck.lever@...cle.com>,
Steve Dickson <SteveD@...hat.com>,
Adrian Bunk <bunk@...sta.de>, linux-kernel@...r.kernel.org
Subject: [PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug
From: Trond Myklebust <Trond.Myklebust@...app.com>
NFS can handle the case where invalidate_inode_pages2_range() fails, so the
premise behind commit 8258d4a574d3a8c01f0ef68aa26b969398a0e140 is now gone.
Remove the WARN_ON_ONCE() which is causing users grief as we can see from
http://bugzilla.kernel.org/show_bug.cgi?id=7826
Signed-off-by: Trond Myklebust <Trond.Myklebust@...app.com>
---
mm/truncate.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/mm/truncate.c b/mm/truncate.c
index 6c79ca4..54ae710 100644
--- a/mm/truncate.c
+++ b/mm/truncate.c
@@ -422,7 +422,6 @@ int invalidate_inode_pages2_range(struct
pagevec_release(&pvec);
cond_resched();
}
- WARN_ON_ONCE(ret);
return ret;
}
EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists