]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/nfs/namespace.c
[PATCH] mark struct inode_operations const 2
[mirror_ubuntu-zesty-kernel.git] / fs / nfs / namespace.c
index 371b804e7cc8a66e2e6f20c00356799e5b6c51cc..7f86e65182e450b528ab7e0a6811ece68c516b56 100644 (file)
@@ -155,12 +155,12 @@ out_follow:
        goto out;
 }
 
-struct inode_operations nfs_mountpoint_inode_operations = {
+const struct inode_operations nfs_mountpoint_inode_operations = {
        .follow_link    = nfs_follow_mountpoint,
        .getattr        = nfs_getattr,
 };
 
-struct inode_operations nfs_referral_inode_operations = {
+const struct inode_operations nfs_referral_inode_operations = {
        .follow_link    = nfs_follow_mountpoint,
 };