Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176567
b: refs/heads/master
c: c2f3d24
h: refs/heads/master
i:
  176565: 7ac42e8
  176563: 85f1332
  176559: e8a5e5a
v: v3
  • Loading branch information
Kiyoshi Ueda authored and Alasdair G Kergon committed Dec 10, 2009
1 parent ada011b commit 60baedf
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: 64dbce580d5a7e89e8de20b91f80c7267cdad91d
refs/heads/master: c2f3d24b783fda20618b73d65678eb5dfae31a5d
5 changes: 5 additions & 0 deletions trunk/drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,11 @@ static int multipath_message(struct dm_target *ti, unsigned argc, char **argv)
goto out;
}

if (dm_suspended(ti)) {
r = -EBUSY;
goto out;
}

if (argc == 1) {
if (!strnicmp(argv[0], MESG_STR("queue_if_no_path"))) {
r = queue_if_no_path(m, 1, 0);
Expand Down

0 comments on commit 60baedf

Please sign in to comment.