From: Arnd Bergmann <arnd@arndb.de>
To: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>
Cc: Greg KH <gregkh@suse.de>,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [RESEND][BUG][PATCH]-rc: USB: yurex: add .llseek fop to file_operations
Date: Mon, 29 Nov 2010 16:04:11 +0100 [thread overview]
Message-ID: <201011291604.12026.arnd@arndb.de> (raw)
In-Reply-To: <AANLkTikddbZN2d+WWwJ_k7ZLpM5SS9H+2OLBZ1CgoZrB@mail.gmail.com>
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>
prev parent reply other threads:[~2010-11-29 15:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-25 16:11 [RESEND][BUG][PATCH]-rc: USB: yurex: add .llseek fop to file_operations Tomoki Sekiyama
2010-11-25 17:16 ` Greg KH
2010-11-26 15:22 ` Arnd Bergmann
2010-11-27 3:46 ` Tomoki Sekiyama
2010-11-29 15:04 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201011291604.12026.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=tomoki.sekiyama@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox