projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2275d
)
[PATCH] MM: Remove [PATCH] invalidate_inode_pages2_range() debug
author
Trond Myklebust
<
[email protected]
>
Fri, 26 Jan 2007 08:57:11 +0000
(
00:57
-0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 26 Jan 2007 21:51:00 +0000
(13:51 -0800)
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 <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/truncate.c
patch
|
blob
|
history
diff --git
a/mm/truncate.c
b/mm/truncate.c
index 3262740aa059a92163017eb569080c92d5494e12..5df947de7654461d43f1ba0a7ab80b46747239c8 100644
(file)
--- 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);