Skip to content

Commit

Permalink
[PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug
Browse files Browse the repository at this point in the history
NFS can handle the case where invalidate_inode_pages2_range() fails, so the
premise behind commit 8258d4a 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>
  • Loading branch information
Trond Myklebust authored and Linus Torvalds committed Jan 26, 2007
1 parent 2a2275d commit 569d328
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 569d328

Please sign in to comment.