#include <libcfs/util/string.h>
#include <linux/lnet/lnetctl.h>
#include <lustre/lustreapi.h>
-#include <linux/lustre_ostid.h>
-#include <linux/lustre_ioctl.h>
+#include <linux/lustre/lustre_ostid.h>
+#include <linux/lustre/lustre_ioctl.h>
#include "lustreapi_internal.h"
static int llapi_msg_level = LLAPI_MSG_MAX;
{
struct find_param *param = (struct find_param *)param_data;
DIR *tmp_parent = parent;
- char raw[OBD_MAX_IOCTL_BUFFER] = {'\0'};
+ char raw[MAX_IOC_BUFLEN] = {'\0'};
char *rawbuf = raw;
struct obd_ioctl_data data = { 0 };
int fd;
int llapi_obd_fstatfs(int fd, __u32 type, __u32 index,
struct obd_statfs *stat_buf, struct obd_uuid *uuid_buf)
{
- char raw[OBD_MAX_IOCTL_BUFFER] = {'\0'};
+ char raw[MAX_IOC_BUFLEN] = {'\0'};
char *rawbuf = raw;
struct obd_ioctl_data data = { 0 };
int rc = 0;