mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] USB: yurex: add .llseek fop to file_operations
@ 2010-11-22 10:29 tomoki.sekiyama
  0 siblings, 0 replies; only message in thread
From: tomoki.sekiyama @ 2010-11-22 10:29 UTC (permalink / raw)
  To: linux-kernel, linux-usb; +Cc: gregkh, arnd, Tomoki Sekiyama

From: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>

Default llseek operation behavior was changed by the patch named
"vfs: make no_llseek the default" after the yurex driver had been merged,
so the llseek to yurex is now ignored.

This patch add llseek fop with default_llseek to yurex driver
to catch up to the change.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>

 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c
index 719c618..ac5bfd6 100644
--- a/drivers/usb/misc/yurex.c
+++ b/drivers/usb/misc/yurex.c
@@ -536,6 +536,7 @@ static const struct file_operations yurex_fops = {
 	.open =		yurex_open,
 	.release =	yurex_release,
 	.fasync	=	yurex_fasync,
+	.llseek =	default_llseek,
 };
 
 
-- 
1.7.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-22 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22 10:29 [PATCH] USB: yurex: add .llseek fop to file_operations tomoki.sekiyama

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®