diff options
author | Paul Mackerras <paulus@samba.org> | 2006-03-28 21:24:50 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-28 21:24:50 -0500 |
commit | bac30d1a78d0f11c613968fc8b351a91ed465386 (patch) | |
tree | e52f3c876522a2f6047a6ec1c27df2e8a79486b8 /fs/hostfs/hostfs_kern.c | |
parent | e8222502ee6157e2713da9e0792c21f4ad458d50 (diff) | |
parent | ca9ba4471c1203bb6e759b76e83167fec54fe590 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'fs/hostfs/hostfs_kern.c')
-rw-r--r-- | fs/hostfs/hostfs_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index b3ad0bd0312f..bf0f8e16e433 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) | |||
384 | return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync); | 384 | return fsync_file(HOSTFS_I(dentry->d_inode)->fd, datasync); |
385 | } | 385 | } |
386 | 386 | ||
387 | static struct file_operations hostfs_file_fops = { | 387 | static const struct file_operations hostfs_file_fops = { |
388 | .llseek = generic_file_llseek, | 388 | .llseek = generic_file_llseek, |
389 | .read = generic_file_read, | 389 | .read = generic_file_read, |
390 | .sendfile = generic_file_sendfile, | 390 | .sendfile = generic_file_sendfile, |
@@ -399,7 +399,7 @@ static struct file_operations hostfs_file_fops = { | |||
399 | .fsync = hostfs_fsync, | 399 | .fsync = hostfs_fsync, |
400 | }; | 400 | }; |
401 | 401 | ||
402 | static struct file_operations hostfs_dir_fops = { | 402 | static const struct file_operations hostfs_dir_fops = { |
403 | .llseek = generic_file_llseek, | 403 | .llseek = generic_file_llseek, |
404 | .readdir = hostfs_readdir, | 404 | .readdir = hostfs_readdir, |
405 | .read = generic_read_dir, | 405 | .read = generic_read_dir, |