nfsd4: fix cr_principal comparison check in same_creds
authorVivek Trivedi <vtrivedi018@gmail.com>
Tue, 24 Jul 2012 15:48:20 +0000 (21:18 +0530)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 25 Jul 2012 13:05:30 +0000 (09:05 -0400)
commit5559b50acdcdcad7e362882d3261bf934c9436f6
treea6debec42b71d76d7b2f86482b579edd092afb26
parent200724a7074281e7a0bf1101784a59fecddfa77d
nfsd4: fix cr_principal comparison check in same_creds

This fixes a wrong check for same cr_principal in same_creds

Introduced by 8fbba96e5b327665265ad02b7f331b68536828bf "nfsd4: stricter
cred comparison for setclientid/exchange_id".

Cc: stable@vger.kernel.org
Signed-off-by: Vivek Trivedi <vtrivedi018@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c