]> err.no Git - linux-2.6/blobdiff - fs/buffer.c
[PATCH] ext4: refuse ro to rw remount of fs with orphan inodes
[linux-2.6] / fs / buffer.c
index 1ad674fd348c4bfe6f130bc9a958a3c38338619c..763c5b59492d9f6c003e5d39377c2f7a4445f7f1 100644 (file)
@@ -345,7 +345,7 @@ void invalidate_bdev(struct block_device *bdev, int destroy_dirty_buffers)
         * We really want to use invalidate_inode_pages2() for
         * that, but not until that's cleaned up.
         */
-       invalidate_inode_pages(mapping);
+       invalidate_mapping_pages(mapping, 0, -1);
 }
 
 /*