diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/truncate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/truncate.c b/mm/truncate.c index 855c38cd09be..ac18edc30649 100644 --- a/mm/truncate.c +++ b/mm/truncate.c @@ -649,7 +649,6 @@ void pagecache_isize_extended(struct inode *inode, loff_t from, loff_t to) struct page *page; pgoff_t index; - WARN_ON(!mutex_is_locked(&inode->i_mutex)); WARN_ON(to > inode->i_size); if (from >= to || bsize == PAGE_CACHE_SIZE) |