Commit 569d3287 authored by Trond Myklebust's avatar Trond Myklebust Committed by Linus Torvalds

[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 8258d4a5 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=7826Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2a2275d6
...@@ -429,7 +429,6 @@ int invalidate_inode_pages2_range(struct address_space *mapping, ...@@ -429,7 +429,6 @@ int invalidate_inode_pages2_range(struct address_space *mapping,
pagevec_release(&pvec); pagevec_release(&pvec);
cond_resched(); cond_resched();
} }
WARN_ON_ONCE(ret);
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range); EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment