mm: optimize acorn partition truncate
[deliverable/linux.git] / fs / partitions / acorn.c
index c05085710fce5a32c689620c915dd3f9bf519712..e3491328596bccaf75d89e7208fda194cddf289a 100644 (file)
@@ -12,7 +12,6 @@
  *  every single manufacturer of SCSI and IDE cards created their own
  *  method.
  */
-#include <linux/config.h>
 #include <linux/buffer_head.h>
 #include <linux/adfs_fs.h>
 
@@ -272,7 +271,7 @@ adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev)
                extern void xd_set_geometry(struct block_device *,
                        unsigned char, unsigned char, unsigned int);
                xd_set_geometry(bdev, dr->secspertrack, heads, 1);
-               invalidate_bdev(bdev, 1);
+               invalidate_bh_lrus();
                truncate_inode_pages(bdev->bd_inode->i_mapping, 0);
        }
 #endif
This page took 0.027743 seconds and 5 git commands to generate.