Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114898
b: refs/heads/master
c: 6722e45
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Oct 16, 2008
1 parent 3149848 commit eeb288c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 266a813c083d67886d89f1066ea6355857b51f83
refs/heads/master: 6722e45c2de622eaf5f26d370b9de19632ac7478
10 changes: 0 additions & 10 deletions trunk/fs/partitions/acorn.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,16 +275,6 @@ adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev)
id = data[0x1fc] & 15;
put_dev_sector(sect);

#ifdef CONFIG_BLK_DEV_MFM
if (MAJOR(bdev->bd_dev) == MFM_ACORN_MAJOR) {
extern void xd_set_geometry(struct block_device *,
unsigned char, unsigned char, unsigned int);
xd_set_geometry(bdev, dr->secspertrack, heads, 1);
invalidate_bh_lrus();
truncate_inode_pages(bdev->bd_inode->i_mapping, 0);
}
#endif

/*
* Work out start of non-adfs partition.
*/
Expand Down

0 comments on commit eeb288c

Please sign in to comment.