Whamcloud - gitweb
LU-14174 lfs: llapi_mirror_find() signed return 57/41757/7
authorMikhail Pershin <mpershin@whamcloud.com>
Fri, 4 Dec 2020 12:06:37 +0000 (15:06 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Oct 2021 00:36:49 +0000 (00:36 +0000)
commit3a9176d5bbd62daa19402c2acf0205dd582d34f4
tree15195c146b346dc2b3e3e60f6fd327911f0b61ed
parent3a83078628a409e464884d73a14a50b988eed962
LU-14174 lfs: llapi_mirror_find() signed return

Check return codes from llapi_mirror_find() as signed value
to don't count errors as valid mirror ids

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I9754eaa063c9a2d07d8b815a86e7597922201f9c
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/41757
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/include/lustre/lustreapi.h
lustre/utils/liblustreapi_layout.c