Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104291
b: refs/heads/master
c: 148acff
h: refs/heads/master
i:
  104289: 27464c3
  104287: 35bf520
v: v3
  • Loading branch information
Mikulas Patocka authored and Alasdair G Kergon committed Jul 21, 2008
1 parent 814e9ec commit 87809fa
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6ae2fa6718c398290be29ef740873640d25058b6
refs/heads/master: 148acff615b403168cdf39e55bfcfaa6e4a7d233
4 changes: 3 additions & 1 deletion trunk/drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,10 @@ static struct priority_group *parse_priority_group(struct arg_set *as,
struct pgpath *pgpath;
struct arg_set path_args;

if (as->argc < nr_params)
if (as->argc < nr_params) {
ti->error = "not enough path parameters";
goto bad;
}

path_args.argc = nr_params;
path_args.argv = as->argv;
Expand Down

0 comments on commit 87809fa

Please sign in to comment.