Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108965
b: refs/heads/master
c: 04f64b5
h: refs/heads/master
i:
  108963: a2098c6
v: v3
  • Loading branch information
Gerald Schaefer authored and Martin Schwidefsky committed Aug 21, 2008
1 parent 9e0e7ce commit c0871ca
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 91c36919a456589f4f073671474a1f899e0d3c2b
refs/heads/master: 04f64b5756872b474d9429e3b6987ada10bb8012
4 changes: 4 additions & 0 deletions trunk/drivers/s390/block/dcssblk.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +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)) {
rc = -EEXIST;
goto release_gd;
}
rc = dcssblk_assign_free_minor(dev_info);
if (rc) {
up_write(&dcssblk_devices_sem);
Expand Down

0 comments on commit c0871ca

Please sign in to comment.