Whamcloud - gitweb
LU-13732 lfs: fid2path should match the root path correctly 25/39225/6
authorEmoly Liu <emoly@whamcloud.com>
Wed, 1 Jul 2020 10:07:00 +0000 (18:07 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 20 Jul 2020 05:21:36 +0000 (05:21 +0000)
This patch is to match the root path in function get_root_path()
correctly. For example, if the mount point is /mnt/lustre, the
following root path formats are acceptable:
- /mnt/lustre
- /mnt/lustre/*

sanity.sh test_154A/247d are modified to verify this patch.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: If705dd341b273d462aeba280fa27d5608b5f3b7c
Reviewed-on: https://review.whamcloud.com/39225
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

No differences found