]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cd30ada9c9ffd802599e33e50fcb137bde9bef2
treecdf8c9376a2f927d83aac463ebdf70f9ef24568a
parent6deb68091ebab72f581169ee9e0dae6c1caa68df
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 ab09c440bc1b854b285adc03de0d36729d9d7cb9
"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