diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/partitions/acorn.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/partitions/acorn.c b/fs/partitions/acorn.c index 3d3e16631472..a97b477ac0fc 100644 --- a/fs/partitions/acorn.c +++ b/fs/partitions/acorn.c | |||
@@ -275,16 +275,6 @@ adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev) | |||
275 | id = data[0x1fc] & 15; | 275 | id = data[0x1fc] & 15; |
276 | put_dev_sector(sect); | 276 | put_dev_sector(sect); |
277 | 277 | ||
278 | #ifdef CONFIG_BLK_DEV_MFM | ||
279 | if (MAJOR(bdev->bd_dev) == MFM_ACORN_MAJOR) { | ||
280 | extern void xd_set_geometry(struct block_device *, | ||
281 | unsigned char, unsigned char, unsigned int); | ||
282 | xd_set_geometry(bdev, dr->secspertrack, heads, 1); | ||
283 | invalidate_bh_lrus(); | ||
284 | truncate_inode_pages(bdev->bd_inode->i_mapping, 0); | ||
285 | } | ||
286 | #endif | ||
287 | |||
288 | /* | 278 | /* |
289 | * Work out start of non-adfs partition. | 279 | * Work out start of non-adfs partition. |
290 | */ | 280 | */ |