Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262207
b: refs/heads/master
c: 759dea2
h: refs/heads/master
i:
  262205: 2c1e79a
  262203: c2a2c77
  262199: 54a4692
  262191: 195994d
  262175: a86d352
  262143: 10438bb
v: v3
  • Loading branch information
Mikulas Patocka authored and Alasdair G Kergon committed Aug 2, 2011
1 parent 87bfa87 commit 796a868
Show file tree
Hide file tree
Showing 2 changed files with 7 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: ba2e19b0f4ccd6920fe175a86521ff18ede260cb
refs/heads/master: 759dea204cce9f1fc2a5d00ea25211299fc7a4a0
6 changes: 6 additions & 0 deletions trunk/drivers/md/dm-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,10 +739,16 @@ static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param)
struct hash_cell *hc = NULL;

if (*param->uuid) {
if (*param->name || param->dev)
return NULL;

hc = __get_uuid_cell(param->uuid);
if (!hc)
return NULL;
} else if (*param->name) {
if (param->dev)
return NULL;

hc = __get_name_cell(param->name);
if (!hc)
return NULL;
Expand Down

0 comments on commit 796a868

Please sign in to comment.