Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109173
b: refs/heads/master
c: dbe13d9
h: refs/heads/master
i:
  109171: 67aa788
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Aug 25, 2008
1 parent 66d459e commit f3afac3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5453c1a575df6232f84fad1502b2d559909265cc
refs/heads/master: dbe13d9981e55c60a030d0509acc9a8968b9c5bf
5 changes: 3 additions & 2 deletions trunk/drivers/s390/block/dcssblk.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,10 @@ dcssblk_add_store(struct device *dev, struct device_attribute *attr, const char
* get minor, add to list
*/
down_write(&dcssblk_devices_sem);
if (dcssblk_get_segment_by_name(local_buf)) {
if (dcssblk_get_device_by_name(local_buf)) {
up_write(&dcssblk_devices_sem);
rc = -EEXIST;
goto release_gd;
goto unload_seg;
}
rc = dcssblk_assign_free_minor(dev_info);
if (rc) {
Expand Down

0 comments on commit f3afac3

Please sign in to comment.