LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug
@ 2007-01-25  4:32 Trond Myklebust
  0 siblings, 0 replies; only message in thread
From: Trond Myklebust @ 2007-01-25  4:32 UTC (permalink / raw)
  To: akpm; +Cc: Chuck Lever, Steve Dickson, Adrian Bunk, linux-kernel

From: Trond Myklebust <Trond.Myklebust@netapp.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@netapp.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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-25  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25  4:32 [PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).