projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.24
[powerpc.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index
e609996
..
f2ac914
100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-715,6
+715,7
@@
struct gendisk *alloc_disk_node(int minors, int node_id)
disk->part = kmalloc_node(size,
GFP_KERNEL | __GFP_ZERO, node_id);
if (!disk->part) {
+ free_disk_stats(disk);
kfree(disk);
return NULL;
}