Re: [PATCH] firewire: nosy: char device is not seekable

From: Stefan Richter
Date: Wed Oct 13 2010 - 08:31:33 EST


Stefan Richter wrote:
> static const struct file_operations nosy_ops = {
> .owner = THIS_MODULE,
> + .llseek = no_llseek,
> .read = nosy_read,
> .unlocked_ioctl = nosy_ioctl,
> .poll = nosy_poll,

PS; this is safe since the only client that uses this interface is
nosy-dump in linux/tools/firewire and it knows not to seek in this char
dev.
--
Stefan Richter
-=====-==-=- =-=- -==-=
http://arcgraph.de/sr/

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