From: Trond Myklebust Date: Fri, 26 Jan 2007 08:57:11 +0000 (-0800) Subject: [PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug X-Git-Tag: v2.6.20-rc7~63 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=569d3287c1f2c5d5e9264e89bd2c0f632e7b7dbb;p=linux-2.6 [PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/truncate.c b/mm/truncate.c index 3262740aa0..5df947de76 100644 --- a/mm/truncate.c +++ b/mm/truncate.c @@ -429,7 +429,6 @@ int invalidate_inode_pages2_range(struct address_space *mapping, pagevec_release(&pvec); cond_resched(); } - WARN_ON_ONCE(ret); return ret; } EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range);