]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
loop-cleanup-partitions-when-detaching-loop-device-fix-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Mar 2013 04:07:01 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:28:21 +0000 (16:28 +1100)
export delete_partition() to modules

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
block/partition-generic.c

index 789cdea05893bb8e3420ede5d1aa65e7af408e1b..ae95ee6a58aad6d005affa10bb270bdf1008e986 100644 (file)
@@ -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)