summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-12 16:21:37 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-13 15:58:03 -0400
commitaa8217d5dcb1db594d816794ef6ab434ebf3e127 (patch)
tree3f8a1db84ca12c1868e48d0ae7c3b1952eb183e5 /fs/nfs/internal.h
parentb9c744c19c441f306239ac3e60a2a95b40d698f8 (diff)
downloadlinux-aa8217d5dcb1db594d816794ef6ab434ebf3e127.tar.bz2
sunrpc: mark all struct svc_version instances as const
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index dc2a29a7d48b..1c0ce9c15e94 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -225,8 +225,8 @@ static inline void nfs_fs_proc_exit(void)
#endif
/* callback_xdr.c */
-extern struct svc_version nfs4_callback_version1;
-extern struct svc_version nfs4_callback_version4;
+extern const struct svc_version nfs4_callback_version1;
+extern const struct svc_version nfs4_callback_version4;
struct nfs_pageio_descriptor;
/* pagelist.c */