Skip to content

Commit b363a0f

Browse files
authored
Merge pull request #3908 from edgargabriel/pr/lustre-header-update
fs/lustre: update lustre header file used in the component
2 parents 6d6f5fd + bc8f642 commit b363a0f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

config/ompi_check_lustre.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dnl University of Stuttgart. All rights reserved.
1111
dnl Copyright (c) 2004-2006 The Regents of the University of California.
1212
dnl All rights reserved.
1313
dnl Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved
14-
dnl Copyright (c) 2008-2012 University of Houston. All rights reserved.
14+
dnl Copyright (c) 2008-2017 University of Houston. All rights reserved.
1515
dnl Copyright (c) 2015 Research Organization for Information Science
1616
dnl and Technology (RIST). All rights reserved.
1717
dnl $COPYRIGHT$
@@ -43,7 +43,7 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
4343
AC_ARG_WITH([lustre],
4444
[AC_HELP_STRING([--with-lustre(=DIR)],
4545
[Build Lustre support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
46-
OPAL_CHECK_WITHDIR([lustre], [$with_lustre], [include/lustre/liblustreapi.h])
46+
OPAL_CHECK_WITHDIR([lustre], [$with_lustre], [include/lustre/lustreapi.h])
4747

4848
AS_IF([test -z "$with_lustre" || test "$with_lustre" = "yes"],
4949
[ompi_check_lustre_dir="/usr"],
@@ -56,13 +56,13 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
5656
fi
5757

5858
# Add correct -I and -L flags
59-
OPAL_CHECK_PACKAGE([$1], [lustre/liblustreapi.h], [lustreapi], [llapi_file_create], [],
59+
OPAL_CHECK_PACKAGE([$1], [lustre/lustreapi.h], [lustreapi], [llapi_file_create], [],
6060
[$ompi_check_lustre_dir], [$ompi_check_lustre_libdir], [ompi_check_lustre_happy="yes"],
6161
[ompi_check_lustre_happy="no"])
6262

6363
AC_MSG_CHECKING([for required lustre data structures])
6464
cat > conftest.c <<EOF
65-
#include "lustre/liblustreapi.h"
65+
#include "lustre/lustreapi.h"
6666
void alloc_lum()
6767
{
6868
int v1, v3;

ompi/mca/fs/lustre/fs_lustre.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* University of Stuttgart. All rights reserved.
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
12-
* Copyright (c) 2008-2016 University of Houston. All rights reserved.
12+
* Copyright (c) 2008-2017 University of Houston. All rights reserved.
1313
* $COPYRIGHT$
1414
*
1515
* Additional copyrights may follow
@@ -43,8 +43,6 @@
4343
#endif
4444

4545
#include <sys/ioctl.h>
46-
#include <lustre/liblustreapi.h>
47-
#include <lustre/lustre_user.h>
4846

4947
/*
5048
* *******************************************************************

ompi/mca/fs/lustre/fs_lustre.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* University of Stuttgart. All rights reserved.
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
12-
* Copyright (c) 2008-2016 University of Houston. All rights reserved.
12+
* Copyright (c) 2008-2017 University of Houston. All rights reserved.
1313
* Copyright (c) 2015 Research Organization for Information Science
1414
* and Technology (RIST). All rights reserved.
1515
* Copyright (c) 2016-2017 IBM Corporation. All rights reserved.
@@ -34,7 +34,7 @@ extern int mca_fs_lustre_stripe_width;
3434

3535
BEGIN_C_DECLS
3636

37-
#include <lustre/liblustreapi.h>
37+
#include <lustre/lustreapi.h>
3838
#include <lustre/lustre_user.h>
3939

4040
#ifndef LOV_MAX_STRIPE_COUNT

0 commit comments

Comments
 (0)