Skip to content

Commit

Permalink
don't include <linux/falloc.h> when it's not really needed
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed May 27, 2014
1 parent 5a61516 commit 1e702f3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion storage/innobase/fil/fil0pagecompress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ static ulint srv_data_read, srv_data_written;
#include <linux/fs.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <linux/falloc.h>
#endif
#include "row0mysql.h"
#ifdef HAVE_LZ4
Expand Down
1 change: 0 additions & 1 deletion storage/innobase/os/os0file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Created 10/21/1995 Heikki Tuuri
#include "srv0srv.h"
#ifdef HAVE_POSIX_FALLOCATE
#include "fcntl.h"
#include "linux/falloc.h"
#endif
#ifndef UNIV_HOTBACKUP
# include "os0sync.h"
Expand Down
1 change: 0 additions & 1 deletion storage/xtradb/fil/fil0pagecompress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ static ulint srv_data_read, srv_data_written;
#include <linux/fs.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <linux/falloc.h>
#endif
#include "row0mysql.h"
#ifdef HAVE_LZ4
Expand Down
1 change: 0 additions & 1 deletion storage/xtradb/os/os0file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Created 10/21/1995 Heikki Tuuri
#include "srv0srv.h"
#ifdef HAVE_POSIX_FALLOCATE
#include "fcntl.h"
#include "linux/falloc.h"
#endif
#ifndef UNIV_HOTBACKUP
# include "os0sync.h"
Expand Down

0 comments on commit 1e702f3

Please sign in to comment.