]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/ia64/kernel/salinfo.c
llseek: automatically add .llseek fop
[net-next-2.6.git] / arch / ia64 / kernel / salinfo.c
index aa8b5fa1a8dec906c19b7ce99d6f721f60bb025b..6f22c40416304f34bbf0d6b2e6f6f60430ec578a 100644 (file)
@@ -354,6 +354,7 @@ retry:
 static const struct file_operations salinfo_event_fops = {
        .open  = salinfo_event_open,
        .read  = salinfo_event_read,
+       .llseek = noop_llseek,
 };
 
 static int
@@ -571,6 +572,7 @@ static const struct file_operations salinfo_data_fops = {
        .release = salinfo_log_release,
        .read    = salinfo_log_read,
        .write   = salinfo_log_write,
+       .llseek  = default_llseek,
 };
 
 static int __cpuinit