projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://neil.brown.name/md
[linux-flexiantxendom0-natty.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index
6a5b772
..
cbf1112
100644
(file)
--- 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;