From 2ca497595ef4a13dca335534c627b0501ee4e25e Mon Sep 17 00:00:00 2001 From: liuy Date: Fri, 12 Oct 2007 06:47:06 +0000 Subject: [PATCH] Branch HEAD b=13732 i=johann, liuy change order of libsysio includes --- lustre/ChangeLog | 4 ++++ lustre/liblustre/dir.c | 2 +- lustre/liblustre/file.c | 2 +- lustre/liblustre/llite_lib.c | 2 +- lustre/liblustre/namei.c | 2 +- lustre/liblustre/rw.c | 2 +- lustre/liblustre/super.c | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 799f0c8..0b91716 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -394,6 +394,10 @@ Severity : normal Bugzilla : 13454 Description: Add jbd statistics patch for RHEL5 and 2.6.18-vanilla +Severity : minor +Bugzilla : 13732 +Description: change order of libsysio includes +Details : '#include sysio.h' should always come before '#include xtio.h' -------------------------------------------------------------------------------- diff --git a/lustre/liblustre/dir.c b/lustre/liblustre/dir.c index db20488..dc56597 100644 --- a/lustre/liblustre/dir.c +++ b/lustre/liblustre/dir.c @@ -33,10 +33,10 @@ #include #include +#include #ifdef HAVE_XTIO_H #include #endif -#include #include #include #include diff --git a/lustre/liblustre/file.c b/lustre/liblustre/file.c index 153c64c..a1d50da 100644 --- a/lustre/liblustre/file.c +++ b/lustre/liblustre/file.c @@ -32,10 +32,10 @@ #include #include +#include #ifdef HAVE_XTIO_H #include #endif -#include #include #include #include diff --git a/lustre/liblustre/llite_lib.c b/lustre/liblustre/llite_lib.c index e6d04e6..0d67368 100644 --- a/lustre/liblustre/llite_lib.c +++ b/lustre/liblustre/llite_lib.c @@ -29,10 +29,10 @@ #include #include +#include #ifdef HAVE_XTIO_H #include #endif -#include #include #include #include diff --git a/lustre/liblustre/namei.c b/lustre/liblustre/namei.c index ccedc5f..3d5a7ee 100644 --- a/lustre/liblustre/namei.c +++ b/lustre/liblustre/namei.c @@ -32,10 +32,10 @@ #include #include +#include #ifdef HAVE_XTIO_H #include #endif -#include #include #include #include diff --git a/lustre/liblustre/rw.c b/lustre/liblustre/rw.c index 62a241d..bb7d124 100644 --- a/lustre/liblustre/rw.c +++ b/lustre/liblustre/rw.c @@ -33,10 +33,10 @@ #include #include +#include #ifdef HAVE_XTIO_H #include #endif -#include #include #include #include diff --git a/lustre/liblustre/super.c b/lustre/liblustre/super.c index 0173a1d..00621f1 100644 --- a/lustre/liblustre/super.c +++ b/lustre/liblustre/super.c @@ -37,10 +37,10 @@ # include #endif +#include #ifdef HAVE_XTIO_H #include #endif -#include #include #include #include -- 1.8.3.1