aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c
index 66df08dd1caf..d398775a3af5 100644
--- a/fs/nfs/namespace.c
+++ b/fs/nfs/namespace.c
@@ -189,7 +189,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server,
189 struct nfs_clone_mount *mountdata) 189 struct nfs_clone_mount *mountdata)
190{ 190{
191#ifdef CONFIG_NFS_V4 191#ifdef CONFIG_NFS_V4
192 struct vfsmount *mnt = NULL; 192 struct vfsmount *mnt = ERR_PTR(-EINVAL);
193 switch (server->nfs_client->rpc_ops->version) { 193 switch (server->nfs_client->rpc_ops->version) {
194 case 2: 194 case 2:
195 case 3: 195 case 3: