aboutsummaryrefslogtreecommitdiff
path: root/fs/partitions/acorn.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions/acorn.c')
-rw-r--r--fs/partitions/acorn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/acorn.c b/fs/partitions/acorn.c
index 1bc9f372c7d..e3491328596 100644
--- a/fs/partitions/acorn.c
+++ b/fs/partitions/acorn.c
@@ -271,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