linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / hostfs / hostfs_kern.c
index bf0f8e1..b3ad0bd 100644 (file)
@@ -384,7 +384,7 @@ int hostfs_fsync(struct file *file, struct dentry *dentry, int datasync)
        return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync);
 }
 
-static const struct file_operations hostfs_file_fops = {
+static struct file_operations hostfs_file_fops = {
        .llseek         = generic_file_llseek,
        .read           = generic_file_read,
        .sendfile       = generic_file_sendfile,
@@ -399,7 +399,7 @@ static const struct file_operations hostfs_file_fops = {
        .fsync          = hostfs_fsync,
 };
 
-static const struct file_operations hostfs_dir_fops = {
+static struct file_operations hostfs_dir_fops = {
        .llseek         = generic_file_llseek,
        .readdir        = hostfs_readdir,
        .read           = generic_read_dir,