diff options
author | James Simmons <[email protected]> | 2017-08-19 22:26:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-08-22 18:36:47 -0700 |
commit | f344c9e46fb8360b52c4940ce00a1ead7b4d367a (patch) | |
tree | 7d7ae1807f2f2a4eec682728f28291ea06058501 | |
parent | b03679f6a41a6981ab6838cf5110c8e4822f744b (diff) |
staging: lustre: uapi: move obd_ioctl_getdata() declaration
Move obd_ioctl_getdata() from lustre_ioctl.h to obd_class.h
since this function is only used by kernel space.
Signed-off-by: James Simmons <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: https://review.whamcloud.com/24568
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Ben Evans <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/lustre/lustre/include/lustre/lustre_ioctl.h | 2 | ||||
-rw-r--r-- | drivers/staging/lustre/lustre/include/obd_class.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_ioctl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_ioctl.h index da9a07115b37..914cea1e2d5d 100644 --- a/drivers/staging/lustre/lustre/include/lustre/lustre_ioctl.h +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_ioctl.h @@ -208,8 +208,6 @@ static inline int obd_ioctl_is_invalid(struct obd_ioctl_data *data) return 0; } -int obd_ioctl_getdata(char **buf, int *len, void __user *arg); - /* * OBD_IOC_DATA_TYPE is only for compatibility reasons with older * Linux Lustre user tools. New ioctls should NOT use this macro as diff --git a/drivers/staging/lustre/lustre/include/obd_class.h b/drivers/staging/lustre/lustre/include/obd_class.h index a6a4b2fbc18f..d4a632a49370 100644 --- a/drivers/staging/lustre/lustre/include/obd_class.h +++ b/drivers/staging/lustre/lustre/include/obd_class.h @@ -1559,4 +1559,7 @@ struct root_squash_info { struct rw_semaphore rsi_sem; }; +/* linux-module.c */ +int obd_ioctl_getdata(char **buf, int *len, void __user *arg); + #endif /* __LINUX_OBD_CLASS_H */ |