]> err.no Git - linux-2.6/blobdiff - fs/9p/vfs_file.c
[MIPS] Early check for SMTC kernel on non-MT processor
[linux-2.6] / fs / 9p / vfs_file.c
index 653dfa5b253174bcf4712211ece50540beed06e8..6e7678e4852ffa53b2e84fdd06dbf4ae8ce66b5a 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/file.h>
 #include <linux/stat.h>
 #include <linux/string.h>
-#include <linux/smp_lock.h>
 #include <linux/inet.h>
 #include <linux/list.h>
 #include <asm/uaccess.h>
@@ -42,6 +41,8 @@
 #include "v9fs_vfs.h"
 #include "fid.h"
 
+static const struct file_operations v9fs_cached_file_operations;
+
 /**
  * v9fs_file_open - open a file (or directory)
  * @inode: inode to be opened
@@ -245,7 +246,7 @@ v9fs_file_write(struct file *filp, const char __user * data,
        return total;
 }
 
-const struct file_operations v9fs_cached_file_operations = {
+static const struct file_operations v9fs_cached_file_operations = {
        .llseek = generic_file_llseek,
        .read = do_sync_read,
        .aio_read = generic_file_aio_read,