Whamcloud - gitweb
LU-7185 ldlm: Restore connect flags on failure
[fs/lustre-release.git] / lustre / include / lustre_ioctl.h
index cefbc7e..2d51337 100644 (file)
@@ -28,7 +28,9 @@
 #ifndef LUSTRE_IOCTL_H_
 #define LUSTRE_IOCTL_H_
 
+#include <linux/types.h>
 #include <libcfs/libcfs.h>
+#include <libcfs/util/ioctl.h>
 #include <lustre/lustre_idl.h>
 
 #ifdef __KERNEL__
@@ -403,6 +405,7 @@ obd_ioctl_unpack(struct obd_ioctl_data *data, char *pbuf, int max_len)
 #define OBD_IOC_ECHO_ALLOC_SEQ _IOWR('f', 222, struct obd_ioctl_data)
 #define OBD_IOC_START_LFSCK    _IOWR('f', 230, OBD_IOC_DATA_TYPE)
 #define OBD_IOC_STOP_LFSCK     _IOW ('f', 231, OBD_IOC_DATA_TYPE)
+#define OBD_IOC_QUERY_LFSCK    _IOR('f', 232, struct obd_ioctl_data)
 /*     lustre/lustre_user.h    240-249 */
 /*     LIBCFS_IOC_DEBUG_MASK   250 */