Skip to contentSkip to conversation

USB: yurex: add .llseek fop to file_operations

PATCH Superseded [email protected] 1 participant 1 message Nov 22, 2010 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: yurex: add .llseek fop to file_operations

From: Tomoki Sekiyama <[email protected]>

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.

 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/usb/misc/yurex.c +1 -0
index 719c618..ac5bfd6 100644
@@ -536,6 +536,7 @@ static const struct file_operations yurex_fops = {
 	.open =		yurex_open,
 	.release =	yurex_release,
 	.fasync	=	yurex_fasync,
+	.llseek =	default_llseek,
 };
 
 
Signature · 1 line
1.7.0