Re: [RESEND][BUG][PATCH]-rc: USB: yurex: add .llseek fop to file_operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 27 November 2010, Tomoki Sekiyama wrote:
> 2010/11/27 Arnd Bergmann <arnd@xxxxxxxx>:
>
> > 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@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux