]> git.wh0rd.org - dump.git/commitdiff
Don't include linux/fs.h since it will break compilation in some cases.
authorStelian Pop <stelian@popies.net>
Mon, 11 Mar 2002 10:17:42 +0000 (10:17 +0000)
committerStelian Pop <stelian@popies.net>
Mon, 11 Mar 2002 10:17:42 +0000 (10:17 +0000)
CHANGES
dump/main.c
dump/tape.c

diff --git a/CHANGES b/CHANGES
index d073757d51b68d6b25e61a611b69d04f7393b5c6..b98f214d48c6e9a2b2eefa0c52ed420ea3583b47 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.166 2002/02/27 09:47:48 stelian Exp $
+$Id: CHANGES,v 1.167 2002/03/11 10:17:42 stelian Exp $
 
 Changes between versions 0.4b27 and 0.4b28 (released ?????????????????)
 =======================================================================
@@ -23,6 +23,11 @@ Changes between versions 0.4b27 and 0.4b28 (released ?????????????????)
        the dump. Thanks to Andrew Donkin <ard@waikato.ac.nz> for
        reporting this issue.
 
+5.     Removed the inclusion of some kernel headers in the dump
+       source, which prevented the compile in some kernel/glibc
+       headers/architecture combination. Thanks to Bdale Garbee
+       <bdale@gag.com> for reporting the bug.
+
 Changes between versions 0.4b26 and 0.4b27 (released February 15, 2002)
 =======================================================================
 
index ee6717272dc5dd661455eb7b7075f1472278d73a..3d4e693fc4ea6cb8672edd8a38716cd1959f0121 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: main.c,v 1.69 2002/01/31 10:49:17 stelian Exp $";
+       "$Id: main.c,v 1.70 2002/03/11 10:17:43 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -61,7 +61,6 @@ static const char rcsid[] =
 #include <sys/time.h>
 #include <time.h>
 #ifdef __linux__
-#include <linux/fs.h>
 #ifdef HAVE_EXT2FS_EXT2_FS_H
 #include <ext2fs/ext2_fs.h>
 #else
index 97565d1522975e6f7ebc97ad8478eebb5c9dcd07..39d8b4caae4023890c9be13f6604ac8faf851391 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: tape.c,v 1.64 2002/02/27 09:47:48 stelian Exp $";
+       "$Id: tape.c,v 1.65 2002/03/11 10:17:43 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -71,9 +71,6 @@ int    write(), read();
 #include <sys/wait.h>
 #include <sys/mtio.h>
 #ifdef __linux__
-#include <linux/fs.h>
-#undef atomic_read     /* this get wrongly defined in kernel */
-                       /* headers and we don't want it */
 #ifdef HAVE_EXT2FS_EXT2_FS_H
 #include <ext2fs/ext2_fs.h>
 #else