Whamcloud - gitweb
LU-3636 llapi: llapi_hsm_copy_end() on correct FID on restore.
authorAurelien Degremont <aurelien.degremont@cea.fr>
Thu, 6 Jun 2013 10:27:32 +0000 (12:27 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Aug 2013 06:07:45 +0000 (02:07 -0400)
commitd086ddd0c5397d7eb06d025ce742aa1d465a2adf
tree0dad323c84563d04d7d0944a47d858b392506b4c
parentf9ca5bbc09923b9518d6dadfc0aa8c41935546bb
LU-3636 llapi: llapi_hsm_copy_end() on correct FID on restore.

When doing a llapi_hsm_copy_end(), the FID sent to kernel should
be the DATA FID, when restoring. To be sure of that, the FID in
hsm_progress is used.

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