diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c index 398d5fd74157..4fdeb1b7042e 100644 --- a/fs/nfs/nfs4namespace.c +++ b/fs/nfs/nfs4namespace.c | |||
@@ -198,7 +198,7 @@ struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *clnt, struct inode *ino | |||
198 | 198 | ||
199 | flavor = nfs4_negotiate_security(inode, name); | 199 | flavor = nfs4_negotiate_security(inode, name); |
200 | if ((int)flavor < 0) | 200 | if ((int)flavor < 0) |
201 | return ERR_PTR(flavor); | 201 | return ERR_PTR((int)flavor); |
202 | 202 | ||
203 | clone = rpc_clone_client(clnt); | 203 | clone = rpc_clone_client(clnt); |
204 | if (IS_ERR(clone)) | 204 | if (IS_ERR(clone)) |