procfs: Use generic_file_llseek in /proc/vmcore
[pandora-kernel.git] / fs / proc / vmcore.c
index 0872afa..00ef604 100644 (file)
@@ -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)