Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173293
b: refs/heads/master
c: 3c492d2
h: refs/heads/master
i:
  173291: 2ba5d88
v: v3
  • Loading branch information
Martin Schwidefsky authored and Martin Schwidefsky committed Dec 7, 2009
1 parent b2bc6da commit 09cc916
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: b8ccc51f6fc6cde3644b4a2159fb57fe6c38d465
refs/heads/master: 3c492d2033f4c67e967e85ff46b8ebac0c5c4036
3 changes: 0 additions & 3 deletions trunk/drivers/s390/char/vmur.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ static int ur_open(struct inode *inode, struct file *file)

if (accmode == O_RDWR)
return -EACCES;
lock_kernel();
/*
* We treat the minor number as the devno of the ur device
* to find in the driver tree.
Expand Down Expand Up @@ -749,7 +748,6 @@ static int ur_open(struct inode *inode, struct file *file)
goto fail_urfile_free;
urf->file_reclen = rc;
file->private_data = urf;
unlock_kernel();
return 0;

fail_urfile_free:
Expand All @@ -761,7 +759,6 @@ static int ur_open(struct inode *inode, struct file *file)
fail_put:
urdev_put(urd);
out:
unlock_kernel();
return rc;
}

Expand Down

0 comments on commit 09cc916

Please sign in to comment.