summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Uzel <petr.uzel@suse.cz>2011-05-31 11:36:06 +0200
committerJan Kara <jack@suse.cz>2011-06-25 17:29:52 +0200
commitfbcc9e624b8dbc7f740fac3906aa261b83398100 (patch)
tree649d409ff309f5e86b649237a6a08e915aec10e8
parentad95c5e9bc8b5885f94dce720137cac8fa8da4c9 (diff)
downloadlinux-stable-fbcc9e624b8dbc7f740fac3906aa261b83398100.tar.gz
linux-stable-fbcc9e624b8dbc7f740fac3906aa261b83398100.tar.bz2
linux-stable-fbcc9e624b8dbc7f740fac3906aa261b83398100.zip
ext2: include fs.h into ext2_fs.h
AC_CHECK_HEADERS([linux/ext2_fs.h]) fails with configure:34666: checking linux/ext2_fs.h usability configure:34666: gcc -std=gnu99 -c -ggdb3 -O0 -Wunreachable-code conftest.c >&5 In file included from conftest.c:406:0: /usr/include/linux/ext2_fs.h: In function 'ext2_mask_flags': /usr/include/linux/ext2_fs.h:182:21: error: 'FS_DIRSYNC_FL' undeclared (first use in this function) /usr/include/linux/ext2_fs.h:182:21: note: each undeclared identifier is reported only once for each function it appears in /usr/include/linux/ext2_fs.h:182:37: error: 'FS_TOPDIR_FL' undeclared (first use in this function) /usr/include/linux/ext2_fs.h:184:19: error: 'FS_NODUMP_FL' undeclared (first use in this function) /usr/include/linux/ext2_fs.h:184:34: error: 'FS_NOATIME_FL' undeclared (first use in this function) It's reasonable to have headers that include all necessary definitions. So fix this by including fs.h into ext2_fs.h. Signed-off-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r--include/linux/ext2_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ext2_fs.h b/include/linux/ext2_fs.h
index 2dfa7076e8b6..53792bf36c71 100644
--- a/include/linux/ext2_fs.h
+++ b/include/linux/ext2_fs.h
@@ -18,6 +18,7 @@
#include <linux/types.h>
#include <linux/magic.h>
+#include <linux/fs.h>
/*
* The second extended filesystem constants/structures