Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2002-02-09 20:58:05 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-02-09 20:58:05 -0800
commit01a5072396a453bf12e0286af64135fd34040b2e (patch)
tree4c1c5d11e39ee60e17e340833ee4075a1c4a82ba
parent13a4c8e0244e98ea5ba7d8e719b9b1782c7a614b (diff)
[PATCH] yet another lseek fix
Another lseek fix, spotted by Dave Hansen @ IBM. Missing a corresponding lock_kernel for an unlock_kernel. Patch against 2.5.4-pre5, please apply. Thanks, Robert Love
-rw-r--r--drivers/zorro/proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c
index 07a3ae80edd9..2a10b08b3f08 100644
--- a/drivers/zorro/proc.c
+++ b/drivers/zorro/proc.c
@@ -24,6 +24,7 @@ proc_bus_zorro_lseek(struct file *file, loff_t off, int whence)
{
loff_t new = -1;
+ lock_kernel();
switch (whence) {
case 0:
new = off;