[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201011291604.12026.arnd@arndb.de>
Date: Mon, 29 Nov 2010 16:04:11 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Tomoki Sekiyama <tomoki.sekiyama@...il.com>
Cc: Greg KH <gregkh@...e.de>, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: [RESEND][BUG][PATCH]-rc: USB: yurex: add .llseek fop to file_operations
On Saturday 27 November 2010, Tomoki Sekiyama wrote:
> 2010/11/27 Arnd Bergmann <arnd@...db.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@...db.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists