Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [RESEND][BUG][PATCH]-rc: USB: yurex: add .llseek fop to file_operations | Date | Mon, 29 Nov 2010 16:04:11 +0100 |
| |
On Saturday 27 November 2010, Tomoki Sekiyama wrote: > 2010/11/27 Arnd Bergmann <arnd@arndb.de>: > > > As far as I can tell, you don't really want to seek this file > > anyway, so the default behaviour of disallowing llseek would actually > > make more sense. > > I need seek because the device notifies the update of the sensor's value > by fasync, then the user can rewind(seek to 0) and re-read the file.
Yes, that makes sense.
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |