diff options
Diffstat (limited to 'mm/truncate.c')
-rw-r--r-- | mm/truncate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/truncate.c b/mm/truncate.c index f4edbc179d14..fca28839c46e 100644 --- a/mm/truncate.c +++ b/mm/truncate.c | |||
@@ -396,6 +396,7 @@ int invalidate_inode_pages2_range(struct address_space *mapping, | |||
396 | pagevec_release(&pvec); | 396 | pagevec_release(&pvec); |
397 | cond_resched(); | 397 | cond_resched(); |
398 | } | 398 | } |
399 | WARN_ON_ONCE(ret); | ||
399 | return ret; | 400 | return ret; |
400 | } | 401 | } |
401 | EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range); | 402 | EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range); |