Commit 01a50723 authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[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
parent 13a4c8e0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment