Bug 23512 - [PATCH] USB: yurex: add .llseek fop to file_operations
Summary: [PATCH] USB: yurex: add .llseek fop to file_operations
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 10:06 UTC by Tomoki Sekiyama
Modified: 2010-11-22 17:08 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.37-rc3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.