Whamcloud - gitweb
LU-13903 utils: have liblustreapi support Linux client 07/39207/4
authorJames Simmons <jsimmons@infradead.org>
Thu, 11 Mar 2021 03:20:58 +0000 (22:20 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Apr 2021 17:39:49 +0000 (17:39 +0000)
commitb59835f8b6c81befee23c5c3c0fafb63e98fbc0c
tree0d0d274ba8b918f7e8755490a0baac99d8cd3adb
parent0f38a0b9db4f7c6c101ee55fe7b94d49a32eabe9
LU-13903 utils: have liblustreapi support Linux client

Handle two difference between the Linux client and the OpenSFS
branch. The Linux client doesn't support the LL_IOC_REMOVE_ENTRY
since its considered a security risk by the VFS maintainers. The
other difference is that struct getinfo_fid2path doesn't name its
union structure which is typical in the Linux kernel.

Test-Parameters: trivial
Change-Id: Ieb9ea749e8728f33621fd6ec28f78892466ec7a4
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/39207
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build.m4
lustre/autoconf/lustre-core.m4
lustre/utils/liblustreapi_fid.c
lustre/utils/liblustreapi_util.c