summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4namespace.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-21 16:12:39 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-21 16:12:39 +0200
commitb3f87b98aa3dc22cc58f970140113b270015cddb (patch)
treec4aec5996567ad96310f61e9244e799f41bf2625 /fs/nfs/nfs4namespace.c
parentNFSv4.1 resend LAYOUTGET on data server invalid layout errors (diff)
parentsunrpc: fix loss of task->tk_status after rpc_delay call in xprt_alloc_slot (diff)
downloadlinux-b3f87b98aa3dc22cc58f970140113b270015cddb.tar.xz
linux-b3f87b98aa3dc22cc58f970140113b270015cddb.zip
Merge branch 'bugfixes' into nfs-for-next
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r--fs/nfs/nfs4namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c
index 80fc0fe7095e..017b4b01a69c 100644
--- a/fs/nfs/nfs4namespace.c
+++ b/fs/nfs/nfs4namespace.c
@@ -197,7 +197,7 @@ struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *clnt, struct inode *ino
rpc_authflavor_t flavor;
flavor = nfs4_negotiate_security(inode, name);
- if (flavor < 0)
+ if ((int)flavor < 0)
return ERR_PTR(flavor);
clone = rpc_clone_client(clnt);