Whamcloud - gitweb
LU-11947 scripts: handle ZFS targets in Lustre RA 71/34271/2
authorNathaniel Clark <nclark@whamcloud.com>
Fri, 8 Feb 2019 18:02:28 +0000 (13:02 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 23 Feb 2019 05:10:33 +0000 (05:10 +0000)
commit56c3d06ed66626f79608f3dafbe13b6719edf9cf
treed28abd1ddd5acf12207f4a42a9d73fbed99d70ba
parent98ec90dd316054904f054e3cf88ae0ba8e54a2dd
LU-11947 scripts: handle ZFS targets in Lustre RA

Fixes a regression introduced in LU-11461
This handles the case of realpath of target being an empty string.

Lustre-change: https://review.whamcloud.com/#/c/34217/
Lustre-commit: 7c446895595c626d731bb52113bb2df420347279

Fixes: c36d70272541 ("LU-11461 scripts: Support symlink target")
Test-Parameters: trivial
Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: I1bcb85908019e968ac0d69e437db217594a6565e
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34271
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Joe Grund <jgrund@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
contrib/scripts/pacemaker/Lustre