From 61dc3daa30c04df884f0f1cf579b406583956dd6 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Tue, 6 Jul 2010 23:03:55 +0200 Subject: [PATCH] --- yaml --- r: 212977 b: refs/heads/master c: cb3b9cf818070df1bf592b71275bcf99d8edefcb h: refs/heads/master i: 212975: 7652ec5a4b3cd1684ace744e8e92a0c3566e3aae v: v3 --- [refs] | 2 +- trunk/drivers/char/raw.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f87385d73a46..ead565a40aff 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 275bd41a6da179b4493171fa65eeeb2a9e47b316 +refs/heads/master: cb3b9cf818070df1bf592b71275bcf99d8edefcb diff --git a/trunk/drivers/char/raw.c b/trunk/drivers/char/raw.c index b38942f6bf31..28c0169e34da 100644 --- a/trunk/drivers/char/raw.c +++ b/trunk/drivers/char/raw.c @@ -258,6 +258,7 @@ static const struct file_operations raw_fops = { .open = raw_open, .release = raw_release, .unlocked_ioctl = raw_ioctl, + .llseek = default_llseek, .owner = THIS_MODULE, }; @@ -265,6 +266,7 @@ static const struct file_operations raw_ctl_fops = { .unlocked_ioctl = raw_ctl_ioctl, .open = raw_open, .owner = THIS_MODULE, + .llseek = noop_llseek, }; static struct cdev raw_cdev;