Whamcloud - gitweb
LU-13107 uapi: remove obsolete ioctls 07/37107/6
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 29 Mar 2021 13:12:50 +0000 (09:12 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Apr 2021 17:39:45 +0000 (17:39 +0000)
commit0f38a0b9db4f7c6c101ee55fe7b94d49a32eabe9
treeb72c15f4ac31abe62ca796906175e8aa74215d08
parente11deeb1e6d114608eac4ee998d4cea22e30b0f5
LU-13107 uapi: remove obsolete ioctls

Remove some very obsolete ioctl number definitions.

Highlight that some of the ioctl codes conflict with upstream
FSVerity ioctls that we may need to implement in the future.
This does not necessarily mean the actual ioctl numbers will
conflict (the "size" field can disambiguate them), but we should
avoid this range when adding new ioctls.

Migrate llapi_file_fget_lov_uuid() over to a new OBD_IOC_GETDTNAME
ioctl number to fix one of the conflicting ioctl numbers.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ic330085b868dd6e284344b3fccd72dd958ecab07
Reviewed-on: https://review.whamcloud.com/37107
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_ioctl.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/utils/liblustreapi.c