diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-flush.c | 2 | ||||
-rw-r--r-- | block/partition-generic.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/block/blk-flush.c b/block/blk-flush.c index db8f1b507857..cc2b827a853c 100644 --- a/block/blk-flush.c +++ b/block/blk-flush.c | |||
@@ -444,7 +444,7 @@ int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, | |||
444 | * copied from blk_rq_pos(rq). | 444 | * copied from blk_rq_pos(rq). |
445 | */ | 445 | */ |
446 | if (error_sector) | 446 | if (error_sector) |
447 | *error_sector = bio->bi_sector; | 447 | *error_sector = bio->bi_sector; |
448 | 448 | ||
449 | if (!bio_flagged(bio, BIO_UPTODATE)) | 449 | if (!bio_flagged(bio, BIO_UPTODATE)) |
450 | ret = -EIO; | 450 | ret = -EIO; |
diff --git a/block/partition-generic.c b/block/partition-generic.c index 789cdea05893..ae95ee6a58aa 100644 --- a/block/partition-generic.c +++ b/block/partition-generic.c | |||
@@ -257,6 +257,7 @@ void delete_partition(struct gendisk *disk, int partno) | |||
257 | 257 | ||
258 | hd_struct_put(part); | 258 | hd_struct_put(part); |
259 | } | 259 | } |
260 | EXPORT_SYMBOL(delete_partition); | ||
260 | 261 | ||
261 | static ssize_t whole_disk_show(struct device *dev, | 262 | static ssize_t whole_disk_show(struct device *dev, |
262 | struct device_attribute *attr, char *buf) | 263 | struct device_attribute *attr, char *buf) |