]> err.no Git - linux-2.6/blobdiff - fs/hostfs/hostfs_kern.c
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / fs / hostfs / hostfs_kern.c
index b3ad0bd0312f2ecc7e9ab8ea2dc37639a3a7b0d0..bf0f8e16e4336db36e64f7b46bc253b283c18b7d 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 struct file_operations hostfs_file_fops = {
+static const struct file_operations hostfs_file_fops = {
        .llseek         = generic_file_llseek,
        .read           = generic_file_read,
        .sendfile       = generic_file_sendfile,
@@ -399,7 +399,7 @@ static struct file_operations hostfs_file_fops = {
        .fsync          = hostfs_fsync,
 };
 
-static struct file_operations hostfs_dir_fops = {
+static const struct file_operations hostfs_dir_fops = {
        .llseek         = generic_file_llseek,
        .readdir        = hostfs_readdir,
        .read           = generic_read_dir,