aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-01-26 03:57:11 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-26 16:51:00 -0500
commit569d3287c1f2c5d5e9264e89bd2c0f632e7b7dbb (patch)
treeed3090026929949a5d7e723e302ef7ecd8be272e
parent2a2275d630b982e5f90206f9bc497f6695a3ec5d (diff)
[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 <Trond.Myklebust@netapp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/truncate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/truncate.c b/mm/truncate.c
index 3262740aa059..5df947de7654 100644
--- a/mm/truncate.c
+++ b/mm/truncate.c
@@ -429,7 +429,6 @@ int invalidate_inode_pages2_range(struct address_space *mapping,
429 pagevec_release(&pvec); 429 pagevec_release(&pvec);
430 cond_resched(); 430 cond_resched();
431 } 431 }
432 WARN_ON_ONCE(ret);
433 return ret; 432 return ret;
434} 433}
435EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range); 434EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range);