From: Andrew Morton Date: Wed, 20 Mar 2013 04:07:01 +0000 (+1100) Subject: loop-cleanup-partitions-when-detaching-loop-device-fix-fix X-Git-Tag: next-20130321~2^2~410 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4c6f936b9e3fe5305fbc826660878809e2d79fcb;p=karo-tx-linux.git loop-cleanup-partitions-when-detaching-loop-device-fix-fix export delete_partition() to modules Cc: Jens Axboe Cc: Phillip Susi Signed-off-by: Andrew Morton --- 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) hd_struct_put(part); } +EXPORT_SYMBOL(delete_partition); static ssize_t whole_disk_show(struct device *dev, struct device_attribute *attr, char *buf)