Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119669
b: refs/heads/master
c: bf91db1
h: refs/heads/master
i:
  119667: 61d7e16
v: v3
  • Loading branch information
Cheng Renquan authored and Jens Axboe committed Dec 3, 2008
1 parent a02323a commit 9a3b0a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53cc0b2948bcb8a084982e6c1f9bd7b337e0df38
refs/heads/master: bf91db18ac2852a3ff39fe25ff56c5557c0fff78
2 changes: 1 addition & 1 deletion trunk/block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,7 @@ struct gendisk *alloc_disk_node(int minors, int node_id)
kfree(disk);
return NULL;
}
disk->node_id = node_id;
if (disk_expand_part_tbl(disk, 0)) {
free_part_stats(&disk->part0);
kfree(disk);
Expand All @@ -1116,7 +1117,6 @@ struct gendisk *alloc_disk_node(int minors, int node_id)
device_initialize(disk_to_dev(disk));
INIT_WORK(&disk->async_notify,
media_change_notify_thread);
disk->node_id = node_id;
}
return disk;
}
Expand Down

0 comments on commit 9a3b0a2

Please sign in to comment.