]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the
authorTheodore Ts'o <tytso@mit.edu>
Mon, 24 Dec 2001 00:33:51 +0000 (19:33 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Dec 2001 00:33:51 +0000 (19:33 -0500)
system header file version of hbd.h when using diet glibc
(since it forcibly adds /usr/include to the beginning of include
search path.)

15 files changed:
debugfs/ChangeLog
debugfs/Makefile.in
debugfs/jfs_user.h
e2fsck/ChangeLog
e2fsck/Makefile.in
e2fsck/jfs_user.h
lib/ext2fs/ChangeLog
lib/ext2fs/Makefile.in
lib/ext2fs/jfs_compat.h [moved from include/linux/jfs_compat.h with 98% similarity]
lib/ext2fs/jfs_user.h
lib/ext2fs/kernel-jbd.h [moved from include/linux/jbd.h with 100% similarity]
lib/ext2fs/kernel-list.h [moved from include/linux/linked_list.h with 100% similarity]
misc/ChangeLog
misc/Makefile.in
misc/jfs_user.h

index d4228ceb1f49efad9926cd283e50f6b556639c27..8cdee8260ce348fec0e085f3459e7d197f8c1b8f 100644 (file)
@@ -1,3 +1,11 @@
+2001-12-23  Theodore Tso  <tytso@valinux.com>
+
+       * Makefile.in, jfs_user.h: Move linux/jbd.h to
+               ext2fs/kernel-jbd.h, to avoid using the system header
+               file version of hbd.h when using diet glibc (since it
+               forcibly adds /usr/include to the beginning of the
+               include search path.)
+
 2001-12-22  Theodore Tso  <tytso@valinux.com>
 
        * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the
index f06de6413298a3a43a00dae3e83baf35d301afb1..e43d6c0ea0c8adee6480f0cbea8b801ab86c81f6 100644 (file)
@@ -74,8 +74,6 @@ distclean: clean
 # Makefile dependencies follow.  This must be the last section in
 # the Makefile.in file
 #
-debug_cmds.o: debug_cmds.c $(top_srcdir)/lib/ss/ss.h \
- $(top_builddir)/lib/ss/ss_err.h
 debugfs.o: $(srcdir)/debugfs.c $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ss/ss.h $(top_builddir)/lib/ss/ss_err.h \
  $(srcdir)/debugfs.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
@@ -117,10 +115,3 @@ setsuper.o: $(srcdir)/setsuper.c $(srcdir)/debugfs.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(top_srcdir)/lib/ext2fs/bitops.h
-logdump.o: $(srcdir)/logdump.c $(srcdir)/debugfs.h \
- $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
- $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/jfs_user.h \
- $(top_srcdir)/include/linux/jbd.h $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h
index 15831682c95a848fab2c0b1f7b62a084878054b8..3070cd55dd30270ee8f873400becb492afaca5f7 100644 (file)
@@ -3,7 +3,6 @@
 
 typedef unsigned short kdev_t;
 
-#include <linux/jbd.h>
-
+#include <ext2fs/kernel-jbd.h>
 
 #endif /* _JFS_USER_H */
index 9ae5f1e2c022a5b81254cfd864915f5b438e1f2d..9c0bc450dc7aaadabb09ffcef0fe15a01c832954 100644 (file)
@@ -1,3 +1,11 @@
+2001-12-23  Theodore Tso  <tytso@valinux.com>
+
+       * Makefile.in, jfs_user.h: Move linux/jbd.h to
+               ext2fs/kernel-jbd.h, to avoid using the system header
+               file version of hbd.h when using diet glibc (since it
+               forcibly adds /usr/include to the beginning of the
+               include search path.)
+
 2001-12-21  Theodore Tso  <tytso@valinux.com>
 
        * problem.c (fix_problem): Use ctx->filesystem_name if the
index a4e894fe24f62fcbac52103bd3b8f591da4c872e..459be3088ec8d81ed55742520369c8eebff4e903 100644 (file)
@@ -214,28 +214,6 @@ pass5.o: $(srcdir)/pass5.c $(srcdir)/e2fsck.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
-journal.o: $(srcdir)/journal.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
- $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
- $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/include/linux/jbd.h \
- $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h $(srcdir)/problem.h \
- $(top_srcdir)/lib/uuid/uuid.h
-recovery.o: $(srcdir)/recovery.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
- $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
- $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/include/linux/jbd.h \
- $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h
-revoke.o: $(srcdir)/revoke.c $(srcdir)/jfs_user.h $(srcdir)/e2fsck.h \
- $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
- $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/include/linux/jbd.h \
- $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h
 badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/e2fsck.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
index f02923b107e4cb040bcad08da835426b2ea53716..d8da03037b953d43aae8ab56ea36de38bd484b87 100644 (file)
@@ -97,7 +97,7 @@ _INLINE_ void do_cache_destroy(kmem_cache_t *cache)
 /*
  * Now pull in the real linux/jfs.h definitions.
  */
-#include <linux/jbd.h>
+#include <ext2fs/kernel-jbd.h>
 
 /*
  * Kernel compatibility functions are defined in journal.c
index a8a4274f1e53ea5504f80ee08d75112dda3d26ac..28a3a15f1b4b73be8c440dc26151be664d6e1fe3 100644 (file)
@@ -1,3 +1,14 @@
+2001-12-23  Theodore Tso  <tytso@valinux.com>
+
+       * Makefile.in, jfs_user.h: Move linux/jbd.h to
+               ext2fs/kernel-jbd.h, to avoid using the system header
+               file version of hbd.h when using diet glibc (since it
+               forcibly adds /usr/include to the beginning of the
+               include search path.)
+
+       * kernel-jbd.h, kernel-list.h, jfs_compat.h: Move files from
+               include/linux directory.
+
 2001-12-16  Theodore Tso  <tytso@valinux.com>
 
        * bitops.h (ext2fs_mark_generic_bitmap, ext2fs_unmark_generic_bitmap),
index 4e8878e6d1ebbc13045cf040c28079504917647d..dbdc756c9f1d3e5b8c0f3e7b5a6f080ca3804b5e 100644 (file)
@@ -346,9 +346,10 @@ get_pathname.o: $(srcdir)/get_pathname.c $(srcdir)/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
-getsize.o: $(srcdir)/getsize.c $(srcdir)/ext2_fs.h \
- $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
- $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
+getsize.o: $(srcdir)/getsize.c /usr/src/linux/include/linux/fd.h \
+ /usr/src/linux/include/linux/ioctl.h /usr/src/linux/include/asm/ioctl.h \
+ $(srcdir)/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
+ $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
 icount.o: $(srcdir)/icount.c $(srcdir)/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
@@ -370,9 +371,10 @@ inode.o: $(srcdir)/inode.c $(srcdir)/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h $(srcdir)/e2image.h
-ismounted.o: $(srcdir)/ismounted.c $(srcdir)/ext2_fs.h \
- $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
- $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
+ismounted.o: $(srcdir)/ismounted.c /usr/src/linux/include/linux/fd.h \
+ /usr/src/linux/include/linux/ioctl.h /usr/src/linux/include/asm/ioctl.h \
+ $(srcdir)/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
+ $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
 link.o: $(srcdir)/link.c $(srcdir)/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
@@ -388,13 +390,6 @@ mkdir.o: $(srcdir)/mkdir.c $(srcdir)/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
-mkjournal.o: $(srcdir)/mkjournal.c $(srcdir)/ext2_fs.h \
- $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/e2p/e2p.h \
- $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
- $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h \
- $(srcdir)/jfs_user.h $(top_srcdir)/include/linux/jbd.h \
- $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h
 namei.o: $(srcdir)/namei.c $(srcdir)/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h $(srcdir)/ext2_io.h \
similarity index 98%
rename from include/linux/jfs_compat.h
rename to lib/ext2fs/jfs_compat.h
index 897424347c4b174902bb74efb226a80230cd5c35..c8dc5af71aa09965da7453140ec317dfe059efe2 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef _JFS_COMPAT_H
 #define _JFS_COMPAT_H
 
-#include "linked_list.h"
+#include "kernel-list.h"
 #include <errno.h>
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
index 15831682c95a848fab2c0b1f7b62a084878054b8..3a521230e3b9c093f544faba7fb445205c32af25 100644 (file)
@@ -3,7 +3,6 @@
 
 typedef unsigned short kdev_t;
 
-#include <linux/jbd.h>
-
+#include "kernel-jbd.h"
 
 #endif /* _JFS_USER_H */
similarity index 100%
rename from include/linux/jbd.h
rename to lib/ext2fs/kernel-jbd.h
index 3089f82aa06ddb5c323be4612d5155e3927855bf..f693d610ea4b890bd06501bae332d3d0b87e4520 100644 (file)
@@ -1,3 +1,11 @@
+2001-12-23  Theodore Tso  <tytso@valinux.com>
+
+       * Makefile.in, jfs_user.h: Move linux/jbd.h to
+               ext2fs/kernel-jbd.h, to avoid using the system header
+               file version of hbd.h when using diet glibc (since it
+               forcibly adds /usr/include to the beginning of the
+               include search path.)
+
 2001-12-22  Theodore Tso  <tytso@valinux.com>
 
        * get_device_by_label.c (init_lvm): Add support to read out
index a440bc00fb4b7a3f3694dd20777615de0341c77d..5e14330e746e93612beea24934515732bc74a186 100644 (file)
@@ -193,16 +193,6 @@ distclean: clean
 # Makefile dependencies follow.  This must be the last section in
 # the Makefile.in file
 #
-tune2fs.o: $(srcdir)/tune2fs.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
- $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
- $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
- $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
- $(top_srcdir)/lib/uuid/uuid.h $(top_srcdir)/lib/e2p/e2p.h \
- $(srcdir)/jfs_user.h $(top_srcdir)/include/linux/jbd.h \
- $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h $(srcdir)/util.h \
- $(srcdir)/get_device_by_label.h $(top_srcdir)/version.h \
- $(srcdir)/nls-enable.h
 mklost+found.o: $(srcdir)/mklost+found.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/version.h \
  $(srcdir)/nls-enable.h
@@ -218,14 +208,6 @@ chattr.o: $(srcdir)/chattr.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
 lsattr.o: $(srcdir)/lsattr.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/version.h $(srcdir)/nls-enable.h
-dumpe2fs.o: $(srcdir)/dumpe2fs.c $(top_srcdir)/lib/ext2fs/ext2_fs.h \
- $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
- $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
- $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
- $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/jfs_user.h \
- $(top_srcdir)/include/linux/jbd.h $(top_srcdir)/include/linux/jfs_compat.h \
- $(top_srcdir)/include/linux/linked_list.h $(top_srcdir)/version.h \
- $(srcdir)/nls-enable.h
 badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
  $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
@@ -233,12 +215,12 @@ badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/nls-enable.h
 fsck.o: $(srcdir)/fsck.c $(top_srcdir)/version.h $(srcdir)/nls-enable.h \
  $(srcdir)/fsck.h $(srcdir)/get_device_by_label.h
-util.o: $(srcdir)/util.c $(top_srcdir)/lib/et/com_err.h \
- $(top_srcdir)/lib/e2p/e2p.h $(top_srcdir)/lib/ext2fs/ext2_fs.h \
- $(top_builddir)/lib/ext2fs/ext2_types.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
- $(top_srcdir)/lib/ext2fs/ext2_io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/nls-enable.h \
- $(srcdir)/get_device_by_label.h $(srcdir)/util.h
+util.o: $(srcdir)/util.c /usr/src/linux/include/linux/major.h \
+ $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/e2p/e2p.h \
+ $(top_srcdir)/lib/ext2fs/ext2_fs.h $(top_builddir)/lib/ext2fs/ext2_types.h \
+ $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/ext2_io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
+ $(srcdir)/nls-enable.h $(srcdir)/get_device_by_label.h $(srcdir)/util.h
 uuidgen.o: $(srcdir)/uuidgen.c $(top_srcdir)/lib/uuid/uuid.h \
  $(srcdir)/nls-enable.h
-fstype.o: $(srcdir)/fstype.c
+fstype.o: $(srcdir)/fstype.c $(srcdir)/fsck.h
index 15831682c95a848fab2c0b1f7b62a084878054b8..3070cd55dd30270ee8f873400becb492afaca5f7 100644 (file)
@@ -3,7 +3,6 @@
 
 typedef unsigned short kdev_t;
 
-#include <linux/jbd.h>
-
+#include <ext2fs/kernel-jbd.h>
 
 #endif /* _JFS_USER_H */