X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2F9p%2Fvfs_file.c;h=6e7678e4852ffa53b2e84fdd06dbf4ae8ce66b5a;hb=ecd27b92fbb41f779d857632a69bd45dbaf0f915;hp=653dfa5b253174bcf4712211ece50540beed06e8;hpb=42eaf0d8f2e7b8201afc00b0ebe1bd89ea51d42d;p=linux-2.6 diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index 653dfa5b25..6e7678e485 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -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,