git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procfs: Use generic_file_llseek in /proc/vmcore
[pandora-kernel.git]
/
fs
/
proc
/
vmcore.c
diff --git
a/fs/proc/vmcore.c
b/fs/proc/vmcore.c
index
0872afa
..
00ef604
100644
(file)
--- a/
fs/proc/vmcore.c
+++ b/
fs/proc/vmcore.c
@@
-162,6
+162,7
@@
static ssize_t read_vmcore(struct file *file, char __user *buffer,
static const struct file_operations proc_vmcore_operations = {
.read = read_vmcore,
+ .llseek = generic_file_llseek,
};
static struct vmcore* __init get_new_element(void)