projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
llseek: automatically add .llseek fop
[linux-flexiantxendom0-3.2.10.git]
/
fs
/
char_dev.c
diff --git
a/fs/char_dev.c
b/fs/char_dev.c
index
f80a4f2
..
e4a3318
100644
(file)
--- a/
fs/char_dev.c
+++ b/
fs/char_dev.c
@@
-454,6
+454,7
@@
static void cdev_purge(struct cdev *cdev)
*/
const struct file_operations def_chr_fops = {
.open = chrdev_open,
+ .llseek = noop_llseek,
};
static struct kobject *exact_match(dev_t dev, int *part, void *data)