projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8ccc51
)
[S390] vmur: remove BKL
author
Martin Schwidefsky
<
[email protected]
>
Mon, 7 Dec 2009 11:52:22 +0000
(12:52 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Mon, 7 Dec 2009 11:51:39 +0000
(12:51 +0100)
Signed-off-by: Martin Schwidefsky <
[email protected]
>
drivers/s390/char/vmur.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/vmur.c
b/drivers/s390/char/vmur.c
index 77571b68539aff5afb8e2f70b0d9edb9ec5fc518..cc56fc708baeced52b18918fcf659e016e31b5b1 100644
(file)
--- a/
drivers/s390/char/vmur.c
+++ b/
drivers/s390/char/vmur.c
@@
-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.
@@
-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:
@@
-761,7
+759,6
@@
fail_unlock:
fail_put:
urdev_put(urd);
out:
- unlock_kernel();
return rc;
}