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,
.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,