]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/nfs/dir.c
[PATCH] Make most file operations structs in fs/ const
[mirror_ubuntu-artful-kernel.git] / fs / nfs / dir.c
index 06c48b385c94de72c081266e2b8f5ecc51c59e80..a23f3489416709288655f80603337f91ea94e398 100644 (file)
@@ -54,7 +54,7 @@ static int nfs_rename(struct inode *, struct dentry *,
 static int nfs_fsync_dir(struct file *, struct dentry *, int);
 static loff_t nfs_llseek_dir(struct file *, loff_t, int);
 
-struct file_operations nfs_dir_operations = {
+const struct file_operations nfs_dir_operations = {
        .llseek         = nfs_llseek_dir,
        .read           = generic_read_dir,
        .readdir        = nfs_readdir,