aboutsummaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 59a2db6fecef..c8da12055264 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1004,6 +1004,7 @@ static void disk_release(struct device *dev)
1004 kfree(disk->random); 1004 kfree(disk->random);
1005 disk_replace_part_tbl(disk, NULL); 1005 disk_replace_part_tbl(disk, NULL);
1006 free_part_stats(&disk->part0); 1006 free_part_stats(&disk->part0);
1007 free_part_info(&disk->part0);
1007 kfree(disk); 1008 kfree(disk);
1008} 1009}
1009struct class block_class = { 1010struct class block_class = {