[PATCH] Re: 2.5: further llseek cleanup (3/3)

Robert Love (rml@tech9.net)
16 Feb 2002 18:00:28 -0500


On Sat, 2002-02-16 at 17:31, Manfred Spraul wrote:
> Hi Robert,
>
> I think the pcilynx change is wrong:

Indeed. Thank you, Manfred.

Linus, patch against 2.5.5-pre1 is attached. Please, apply.

Robert Love

diff -urN linux-2.5.5-pre1/drivers/ieee1394/pcilynx.c linux/drivers/ieee1394/pcilynx.c
--- linux-2.5.5-pre1/drivers/ieee1394/pcilynx.c Wed Feb 13 18:18:46 2002
+++ linux/drivers/ieee1394/pcilynx.c Sat Feb 16 17:58:47 2002
@@ -748,10 +748,11 @@
}

if (newoffs < 0 || newoffs > PCILYNX_MAX_MEMORY + 1) {
- lock_kernel();
+ unlock_kernel();
return -EINVAL;
}

+ unlock_kernel();
file->f_pos = newoffs;
return newoffs;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/