Whamcloud - gitweb
LU-3435 util: Improvement to error logging for l_getidentity 33/6533/3
authorPatrick Farrell <paf@cray.com>
Tue, 4 Jun 2013 18:19:24 +0000 (13:19 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 10 Jul 2013 02:38:10 +0000 (02:38 +0000)
commit41998544b8a34b3c385f2a6adb7ebc01ba496182
tree38fc7f2bc0710891739e29f423372d7839cd5d43
parent48e8081334b08d4ba14f59669f86ff6e46ab4d00
LU-3435 util: Improvement to error logging for l_getidentity

The LU-2107 patch to l_getidentity does not set the data->idd_err
value to errno, and does not log the uid when getgrouplist() fails.
This patch fixes both of those concerns.

Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: I8a5715bada61a4c69d4d875b60097f9414a25f1c
Reviewed-on: http://review.whamcloud.com/6533
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/l_getidentity.c