ext2_fs.h (i_reserved2): Use __GNU__ instead of __hurd__ to detect the
Hurd OS. To protect against future irrationality on the part of the
FSF concerning whether Linux is GNU or not, on a system which defines
both __linux__ and __GNU___, __linux__ takes precedence.
ChangeLog, initialize.c:
initialize.c (CREATOR_OS): Use __GNU__ instead of __gnu__ to detect
the Hurd OS.
ChangeLog, debugfs.c:
debugfs.c (do_dirty_filesys): Make the "dirty" command clear the valid
bit on the superblock. (And with a -clean option to set the valid
bit.) Originally it was used just to set the "needs to be written"
bit in the in-core version of the fs structure.
+1999-10-25 <tytso@valinux.com>
+
+ * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the
+ valid bit on the superblock. (And with a -clean option to
+ set the valid bit.) Originally it was used just to set
+ the "needs to be written" bit in the in-core version of
+ the fs structure.
+
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
{
if (check_fs_open(argv[0]))
return;
{
if (check_fs_open(argv[0]))
return;
+ if (check_fs_read_write(argv[0]))
+ return;
+
+ if (argv[1] && !strcmp(argv[1], "-clean"))
+ current_fs->super->s_state |= EXT2_VALID_FS;
+ else
+ current_fs->super->s_state &= ~EXT2_VALID_FS;
ext2fs_mark_super_dirty(current_fs);
}
ext2fs_mark_super_dirty(current_fs);
}
+1999-10-25 <tytso@valinux.com>
+
+ * ext2_fs.h (i_reserved2): Use __GNU__ instead of __hurd__ to
+ detect the Hurd OS. To protect against future
+ irrationality on the part of the FSF concerning whether
+ Linux is GNU or not, on a system which defines both
+ __linux__ and __GNU___, __linux__ takes precedence.
+
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
#define i_frag osd2.linux2.l_i_frag
#define i_fsize osd2.linux2.l_i_fsize
#define i_reserved2 osd2.linux2.l_i_reserved2
#define i_frag osd2.linux2.l_i_frag
#define i_fsize osd2.linux2.l_i_fsize
#define i_reserved2 osd2.linux2.l_i_reserved2
#define i_translator osd1.hurd1.h_i_translator
#define i_frag osd2.hurd2.h_i_frag;
#define i_fsize osd2.hurd2.h_i_fsize;
#define i_uid_high osd2.hurd2.h_i_uid_high
#define i_gid_high osd2.hurd2.h_i_gid_high
#define i_author osd2.hurd2.h_i_author
#define i_translator osd1.hurd1.h_i_translator
#define i_frag osd2.hurd2.h_i_frag;
#define i_fsize osd2.hurd2.h_i_fsize;
#define i_uid_high osd2.hurd2.h_i_uid_high
#define i_gid_high osd2.hurd2.h_i_gid_high
#define i_author osd2.hurd2.h_i_author
+#elif defined (__masix__)
#define i_reserved1 osd1.masix1.m_i_reserved1
#define i_frag osd2.masix2.m_i_frag
#define i_fsize osd2.masix2.m_i_fsize
#define i_reserved2 osd2.masix2.m_i_reserved2
#define i_reserved1 osd1.masix1.m_i_reserved1
#define i_frag osd2.masix2.m_i_frag
#define i_fsize osd2.masix2.m_i_fsize
#define i_reserved2 osd2.masix2.m_i_reserved2
+#endif /* defined(__KERNEL__) || defined(__linux__) */
+1999-10-25 <tytso@valinux.com>
+
+ * initialize.c (CREATOR_OS): Use __GNU__ instead of __gnu__ to
+ detect the Hurd OS.
+
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
1999-10-22 <tytso@valinux.com>
* Release of E2fsprogs 1.16
#if defined(__linux__) && defined(EXT2_OS_LINUX)
#define CREATOR_OS EXT2_OS_LINUX
#if defined(__linux__) && defined(EXT2_OS_LINUX)
#define CREATOR_OS EXT2_OS_LINUX
-#elif defined(__gnu__) && defined(EXT2_OS_HURD)
+#elif defined(__GNU__) && defined(EXT2_OS_HURD)
#define CREATOR_OS EXT2_OS_HURD
#elif defined(__FreeBSD__) && defined(EXT2_OS_FREEBSD)
#define CREATOR_OS EXT2_OS_FREEBSD
#define CREATOR_OS EXT2_OS_HURD
#elif defined(__FreeBSD__) && defined(EXT2_OS_FREEBSD)
#define CREATOR_OS EXT2_OS_FREEBSD