Bug 23512

Summary: [PATCH] USB: yurex: add .llseek fop to file_operations
Product: Drivers Reporter: Tomoki Sekiyama (tomoki.sekiyama)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: RESOLVED CODE_FIX    
Severity: normal CC: tomoki.sekiyama
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.37-rc3 Subsystem:
Regression: No Bisected commit-id:

Description Tomoki Sekiyama 2010-11-22 10:06:44 UTC
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,
 };
Comment 1 Greg Kroah-Hartman 2010-11-22 17:08:11 UTC
Patches need to be sent by email, to me and the
linux-usb@vger.kernel.org mailing list.  We can't take patches through
bugzilla, sorry.  Please see Documentation/SubmittingPatches for
details.