Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40821
b: refs/heads/master
c: d287483
h: refs/heads/master
i:
  40819: 2decabf
v: v3
  • Loading branch information
Alasdair G Kergon authored and Linus Torvalds committed Nov 9, 2006
1 parent a2c22a1 commit 0af7bb4
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: bfc5ecdf48b529f6a2bd98ba26bfac39ca8cd8a5
refs/heads/master: d287483d6d7a2d5b313aee155285f89b57d9cd4a
4 changes: 3 additions & 1 deletion trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ int dm_suspend(struct mapped_device *md, int do_lockfs)
down(&md->suspend_lock);

if (dm_suspended(md))
goto out;
goto out_unlock;

map = dm_get_table(md);

Expand Down Expand Up @@ -1361,6 +1361,8 @@ int dm_suspend(struct mapped_device *md, int do_lockfs)
}

dm_table_put(map);

out_unlock:
up(&md->suspend_lock);
return r;
}
Expand Down

0 comments on commit 0af7bb4

Please sign in to comment.