X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2F9p%2Fvfs_super.c;h=7bdf8b326841909189229da93f3a1ad2fb9c8249;hb=ecd27b92fbb41f779d857632a69bd45dbaf0f915;hp=63320d4e15d260fc0e7800d2bc0d2a54141666ff;hpb=93fdf10d4c28edaa1b9f80e7f9c3002359186d00;p=linux-2.6 diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 63320d4e15..7bdf8b3268 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c @@ -31,12 +31,12 @@ #include #include #include -#include #include #include #include #include #include +#include #include "debug.h" #include "v9fs.h" @@ -45,7 +45,7 @@ #include "fid.h" static void v9fs_clear_inode(struct inode *); -static struct super_operations v9fs_super_ops; +static const struct super_operations v9fs_super_ops; /** * v9fs_clear_inode - release an inode @@ -263,7 +263,7 @@ v9fs_umount_begin(struct vfsmount *vfsmnt, int flags) v9fs_session_cancel(v9ses); } -static struct super_operations v9fs_super_ops = { +static const struct super_operations v9fs_super_ops = { .statfs = simple_statfs, .clear_inode = v9fs_clear_inode, .show_options = v9fs_show_options,