patch-2.4.9 linux/drivers/message/fusion/mptctl.c
Next file: linux/drivers/mtd/devices/docecc.c
Previous file: linux/drivers/media/video/videodev.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/drivers/message/fusion/mptctl.c
- Orig date:
Wed Jul 25 17:10:20 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/message/fusion/mptctl.c linux/drivers/message/fusion/mptctl.c
@@ -205,13 +205,6 @@
}
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
-static loff_t
-mptctl_llseek(struct file *file, loff_t offset, int origin)
-{
- return -ESPIPE;
-}
-
-/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
static ssize_t
mptctl_write(struct file *file, const char *buf, size_t count, loff_t *ppos)
{
@@ -1092,7 +1085,7 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,51)
owner: THIS_MODULE,
#endif
- llseek: mptctl_llseek,
+ llseek: no_llseek,
read: mptctl_read,
write: mptctl_write,
ioctl: mpt_ioctl,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)