Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262195
b: refs/heads/master
c: 2ca4c92
h: refs/heads/master
i:
  262193: 4308279
  262191: 195994d
v: v3
  • Loading branch information
Alasdair G Kergon committed Aug 2, 2011
1 parent 0abda03 commit 57aa408
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 13c87583ea4e867211fc3e7edab750c353c47c95
refs/heads/master: 2ca4c92f58f9386e080b26f9ccd78c9ca5825a42
5 changes: 5 additions & 0 deletions trunk/drivers/md/dm-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,11 @@ static int target_message(struct dm_ioctl *param, size_t param_size)
goto out;
}

if (!argc) {
DMWARN("Empty message received.");
goto out;
}

table = dm_get_live_table(md);
if (!table)
goto out_argv;
Expand Down

0 comments on commit 57aa408

Please sign in to comment.