diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-11-09 15:05:37 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-11-09 15:05:37 -0500 |
commit | feee207e44d3643d19e648af3c88946bd1c5106b (patch) | |
tree | cbb0da66cc2cd39e44fe8053fea95e71de78591e /drivers/sbus/char/cpwatchdog.c | |
parent | 84c1a13a30f21406f39e546684a78ebe9859e6d7 (diff) |
[SPARC]: Fix locking thinkos in display7seg and cpwatchdog drivers.
Noticed by Eric Brower.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/cpwatchdog.c')
-rw-r--r-- | drivers/sbus/char/cpwatchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c index 071ae24be892..fd2cc7782f76 100644 --- a/drivers/sbus/char/cpwatchdog.c +++ b/drivers/sbus/char/cpwatchdog.c | |||
@@ -407,7 +407,7 @@ static long wd_compat_ioctl(struct file *file, unsigned int cmd, | |||
407 | case WIOCGSTAT: | 407 | case WIOCGSTAT: |
408 | lock_kernel(); | 408 | lock_kernel(); |
409 | rval = wd_ioctl(file->f_dentry->d_inode, file, cmd, arg); | 409 | rval = wd_ioctl(file->f_dentry->d_inode, file, cmd, arg); |
410 | lock_kernel(); | 410 | unlock_kernel(); |
411 | break; | 411 | break; |
412 | /* everything else is handled by the generic compat layer */ | 412 | /* everything else is handled by the generic compat layer */ |
413 | default: | 413 | default: |