summaryrefslogtreecommitdiffstats
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorDavid Howells2006-08-23 02:06:11 +0200
committerTrond Myklebust2006-09-23 05:24:34 +0200
commit509de8111656a7d89b4a1a5f430f4460ce510f0f (patch)
tree94ec0130ab74a5c80956ca3edd3298999b3b9897 /fs/nfs/namespace.c
parentNFS: Use the dentry superblock directly in nfs_statfs() (diff)
downloadkernel-qcow2-linux-509de8111656a7d89b4a1a5f430f4460ce510f0f.tar.gz
kernel-qcow2-linux-509de8111656a7d89b4a1a5f430f4460ce510f0f.tar.xz
kernel-qcow2-linux-509de8111656a7d89b4a1a5f430f4460ce510f0f.zip
NFS: Add extra const qualifiers
Add some extra const qualifiers into NFS. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r--fs/nfs/namespace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c
index 86b3169c8cac..85d9ed1dcf42 100644
--- a/fs/nfs/namespace.c
+++ b/fs/nfs/namespace.c
@@ -172,7 +172,8 @@ void nfs_release_automount_timer(void)
/*
* Clone a mountpoint of the appropriate type
*/
-static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devname,
+static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server,
+ const char *devname,
struct nfs_clone_mount *mountdata)
{
#ifdef CONFIG_NFS_V4