Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24393
b: refs/heads/master
c: 7e51f25
h: refs/heads/master
i:
  24391: be7c99b
v: v3
  • Loading branch information
Mike Anderson authored and Linus Torvalds committed Mar 27, 2006
1 parent 1270138 commit 258bd32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ecac7fd74f2e5fb06a7719ecba55fb5778a9a47
refs/heads/master: 7e51f257e87297a5b6fe6d136a8ef67206aaf3a8
2 changes: 2 additions & 0 deletions trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ struct mapped_device {

request_queue_t *queue;
struct gendisk *disk;
char name[16];

void *interface_ptr;

Expand Down Expand Up @@ -842,6 +843,7 @@ static struct mapped_device *alloc_dev(unsigned int minor, int persistent)
md->disk->private_data = md;
sprintf(md->disk->disk_name, "dm-%d", minor);
add_disk(md->disk);
format_dev_t(md->name, MKDEV(_major, minor));

atomic_set(&md->pending, 0);
init_waitqueue_head(&md->wait);
Expand Down

0 comments on commit 258bd32

Please sign in to comment.