From: Tomoki Sekiyama Date: Mon, 22 Nov 2010 10:29:23 +0000 (+0900) Subject: USB: yurex: add .llseek fop to file_operations X-Git-Tag: v2.6.37-rc5~31^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27f485b5b27926878ffc8f528bdefeb25e6bd3d3;p=profile%2Fcommon%2Fkernel-common.git USB: yurex: add .llseek fop to file_operations 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 Signed-off-by: Greg Kroah-Hartman --- 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, };