Whamcloud - gitweb
LU-6025 lctl: remove bad error checking from nodemap_cmd() 91/13191/3
authorKit Westneat <kit.westneat@gmail.com>
Sat, 20 Dec 2014 00:25:31 +0000 (19:25 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 19 Jan 2015 17:50:57 +0000 (17:50 +0000)
commit61785255612f05b121f386fdb19f79d2821ed844
tree54fc0261c6549d7f65ca81039139034656cee575
parent58ddddb5386951f05c52b8e6f98fcfa8139097d5
LU-6025 lctl: remove bad error checking from nodemap_cmd()

There was some error checking that didn't really make sense in
nodemap_cmd() and was causing false errors. memcpy() doesn't have an
error condition, so there's no need to check it.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I58225f8ebb1d8dc0941534503f939b213d57c27f
Reviewed-on: http://review.whamcloud.com/13191
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/utils/obd.c