summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-03-03 02:07:14 +0100
committerTony Lindgren <tony@atomide.com>2011-03-03 02:07:14 +0100
commit12d7d4e0ed8fecf7f74c89483b55b300be6e5901 (patch)
treef573761ac752ff04ec445e23aef50adadda49790 /block/genhd.c
parentomap: omap3evm: add support for the WL12xx WLAN module to the omap3evm (diff)
parentarm: omap: fix section mismatch warning (diff)
downloadlinux-12d7d4e0ed8fecf7f74c89483b55b300be6e5901.tar.xz
linux-12d7d4e0ed8fecf7f74c89483b55b300be6e5901.zip
Merge branch 'devel-cleanup' into omap-for-linus
Conflicts: arch/arm/mach-omap2/timer-gp.c
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 6a5b772aa201..cbf1112a885c 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1355,7 +1355,7 @@ int invalidate_partition(struct gendisk *disk, int partno)
struct block_device *bdev = bdget_disk(disk, partno);
if (bdev) {
fsync_bdev(bdev);
- res = __invalidate_device(bdev);
+ res = __invalidate_device(bdev, true);
bdput(bdev);
}
return res;