Whamcloud - gitweb
LU-14398 llapi: add llapi_fid2path_at()
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 3 Feb 2021 19:06:16 +0000 (13:06 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 6 Mar 2021 20:44:51 +0000 (20:44 +0000)
commitb6e2cf6045147c311186494be00a8a444651c91c
tree9f775ab6ce6685a8b71c0da4256a74a6b2116ecc
parentedd5d41f775843e037d8def80526c87eaba0fd19
LU-14398 llapi: add llapi_fid2path_at()

Add llapi_fid2path_at() which works like llapi_fid2path() takes an
open FD on the moint point instead of a 'fsname or dirirectory path'
and a const struct lu_fid * instead of a const char *.

Lustre-commit: c45558bf560cf43d440af5679b86ba7e4d2542f3
Lustre-change: https://review.whamcloud.com/41406

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I76234bc28de231587b65c5d866954441e0893aac
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/41863
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre/lustreapi.h
lustre/tests/llapi_fid_test.c
lustre/utils/liblustreapi_fid.c