X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhostfs%2Fhostfs_kern.c;h=b3ad0bd0312f2ecc7e9ab8ea2dc37639a3a7b0d0;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=bf0f8e16e4336db36e64f7b46bc253b283c18b7d;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index bf0f8e16e..b3ad0bd03 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -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,