NFS: fix unsigned comparison in nfs4_create_sec_client
authorBenny Halevy <bhalevy@tonian.com>
Wed, 16 May 2012 08:35:36 +0000 (11:35 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 16 May 2012 17:36:50 +0000 (10:36 -0700)
commit5f23eff3814e9d255464e7a03dba47c27069ac78
treecdf8c9376a2f927d83aac463ebdf70f9ef24568a
parentbda14606a3c055dbbccd998fa91eb87c4c7b2027
NFS: fix unsigned comparison in nfs4_create_sec_client

fs/nfs/nfs4namespace.c: In function ‘nfs4_create_sec_client’:
fs/nfs/nfs4namespace.c:171:2: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]

Introduced by commit 72de53ec4bca39c26709122a8f78bfefe7b6bca4
"NFS: Do secinfo as part of lookup"

Signed-off-by: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4namespace.c