Whamcloud - gitweb
New tag 2.15.63
[fs/lustre-release.git] / libcfs / include / libcfs / util / ioctl.h
index b6f4f67..c99fda6 100644 (file)
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2014, Intel Corporation.
+ * Copyright (c) 2014, 2017, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * libcfs/include/libcfs/util/ioctl.h
  *
 /* Sparse annotation. */
 #define __user
 
-#include <uapi/linux/lnet/libcfs_ioctl.h>
+#include <linux/lnet/libcfs_ioctl.h>
 
 #define LIBCFS_IOC_INIT(data)                                  \
 do {                                                           \
        memset(&(data), 0, sizeof(data));                       \
-       (data).ioc_hdr.ioc_version = LIBCFS_IOCTL_VERSION;      \
+       (data).ioc_hdr.ioc_version = LNET_IOCTL_VERSION;        \
        (data).ioc_hdr.ioc_len = sizeof(data);                  \
 } while (0)
 
 #define LIBCFS_IOC_INIT_V2(data, hdr)                  \
 do {                                                   \
        memset(&(data), 0, sizeof(data));               \
-       (data).hdr.ioc_version = LIBCFS_IOCTL_VERSION2; \
+       (data).hdr.ioc_version = LNET_IOCTL_VERSION2;   \
        (data).hdr.ioc_len = sizeof(data);              \
 } while (0)