|
@@ -42,6 +42,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 +247,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,
|