Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132425
b: refs/heads/master
c: f80a557
h: refs/heads/master
i:
  132423: 5cb304a
v: v3
  • Loading branch information
Mikulas Patocka authored and Alasdair G Kergon committed Mar 16, 2009
1 parent 4741fcc commit fdfd64c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: bc0fd67feba2e0770aad85393500ba77c6489f1c
refs/heads/master: f80a557008462a0a4adef25407f1872e793d8dd5
4 changes: 2 additions & 2 deletions trunk/drivers/md/dm-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1064,15 +1064,15 @@ static int table_load(struct dm_ioctl *param, size_t param_size)

r = populate_table(t, param, param_size);
if (r) {
dm_table_put(t);
dm_table_destroy(t);
goto out;
}

down_write(&_hash_lock);
hc = dm_get_mdptr(md);
if (!hc || hc->md != md) {
DMWARN("device has been removed from the dev hash table.");
dm_table_put(t);
dm_table_destroy(t);
up_write(&_hash_lock);
r = -ENXIO;
goto out;
Expand Down

0 comments on commit fdfd64c

Please sign in to comment.