Whamcloud - gitweb
LU-3634 llapi: Fix returned value of llapi_hsm_copy_start/end. 09/7109/2
authorAurelien Degremont <aurelien.degremont@cea.fr>
Mon, 22 Jul 2013 11:57:27 +0000 (13:57 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 26 Jul 2013 21:28:54 +0000 (21:28 +0000)
commit60eb9e88cafe07fd0a7922d8953f66b53d97b0cd
tree003763441fcac8fdc4f5ae693e149c7546688d05
parent88d9dcf58c94919629d6d96c68dc7277e62db7da
LU-3634 llapi: Fix returned value of llapi_hsm_copy_start/end.

Both function were doing a ioctl and were returning ioctl()
return code instead of returning errno.

Signed-off-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Change-Id: Ibd4c6f5188bb50e7fa8875e2d4fa3442c2c69888
Reviewed-on: http://review.whamcloud.com/7109
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/liblustreapi_hsm.c