projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: sbc_fitpc2_wdt, fix crash on systems without DMI_BOARD_NAME
[firefly-linux-kernel-4.4.55.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index 6a5b772aa2016f52f986a2cca396daf94ad0c7c4..cbf1112a885c0c715e4d38a3dfad91f74cd1f1fa 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;