projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: always remove partitions from blk_drop_partitions()
[linux-2.6-microblaze.git]
/
block
/
partitions
/
core.c
diff --git
a/block/partitions/core.c
b/block/partitions/core.c
index
78951e3
..
e62a98a
100644
(file)
--- a/
block/partitions/core.c
+++ b/
block/partitions/core.c
@@
-619,8
+619,6
@@
int blk_drop_partitions(struct block_device *bdev)
struct disk_part_iter piter;
struct hd_struct *part;
- if (!disk_part_scan_enabled(bdev->bd_disk))
- return 0;
if (bdev->bd_part_count)
return -EBUSY;