lkml.org 
[lkml]   [2010]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] firewire: nosy: char device is not seekable
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/



\
 
 \ /
  Last update: 2010-10-13 14:33    [W:0.265 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site