Commit f344c9e4 authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman

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: default avatarJames Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401
Reviewed-on: https://review.whamcloud.com/24568Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarBen Evans <bevans@cray.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b03679f6
...@@ -208,8 +208,6 @@ static inline int obd_ioctl_is_invalid(struct obd_ioctl_data *data) ...@@ -208,8 +208,6 @@ static inline int obd_ioctl_is_invalid(struct obd_ioctl_data *data)
return 0; return 0;
} }
int obd_ioctl_getdata(char **buf, int *len, void __user *arg);
/* /*
* OBD_IOC_DATA_TYPE is only for compatibility reasons with older * OBD_IOC_DATA_TYPE is only for compatibility reasons with older
* Linux Lustre user tools. New ioctls should NOT use this macro as * Linux Lustre user tools. New ioctls should NOT use this macro as
......
...@@ -1559,4 +1559,7 @@ struct root_squash_info { ...@@ -1559,4 +1559,7 @@ struct root_squash_info {
struct rw_semaphore rsi_sem; struct rw_semaphore rsi_sem;
}; };
/* linux-module.c */
int obd_ioctl_getdata(char **buf, int *len, void __user *arg);
#endif /* __LINUX_OBD_CLASS_H */ #endif /* __LINUX_OBD_CLASS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment