udf: limit the maximum number of indirect extents in a row
[pandora-kernel.git] / mm / truncate.c
index ef13a07..143883a 100644 (file)
@@ -608,7 +608,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)