USB: yurex: add .llseek fop to file_operations
authorTomoki Sekiyama <tomoki.sekiyama@gmail.com>
Mon, 22 Nov 2010 10:29:23 +0000 (19:29 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 30 Nov 2010 18:24:50 +0000 (10:24 -0800)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/yurex.c

index 719c6180b31ff1b94815737c5d129dd3aac8a408..ac5bfd619e62ab4dad5d05772ece6fcc13744159 100644 (file)
@@ -536,6 +536,7 @@ static const struct file_operations yurex_fops = {
        .open =         yurex_open,
        .release =      yurex_release,
        .fasync =       yurex_fasync,
+       .llseek =       default_llseek,
 };