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

Stefan Richter
2010-10-13T12:31:30Z

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
-=====-==-=- =-=- -==-=