Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
Replace open call to WANT_FD with newly added API llapi_root_path_open()
Example: A call to WANT_FD like below
if (path_or_device[0] == '/') rc = get_root_path(WANT_FD, NULL, &mnt_fd, (char *)path_or_device, -1, NULL, NULL); else rc = get_root_path(WANT_FD, (char *)path_or_device, &mnt_fd, NULL, -1, NULL, NULL);
Will get replace by llapi_root_path_open()
rc = llapi_root_path_open((char *)path_or_device, &mnt_fd);
The changes are done under:
lustre/utils/liblustreapi_fid.c lustre/utils/liblustreapi_hsm.c lustre/utils/liblustreapi_pcc.c