Skip to content

Commit 27f485b

Browse files
sekiyama58gregkh
authored andcommitted
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 <tomoki.sekiyama@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 28942bb commit 27f485b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/usb/misc/yurex.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ static const struct file_operations yurex_fops = {
536536
.open = yurex_open,
537537
.release = yurex_release,
538538
.fasync = yurex_fasync,
539+
.llseek = default_llseek,
539540
};
540541

541542

0 commit comments

Comments
 (0)