+1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * super.c, e2fsck.h: Always declare e2fsck_get_device_size() as an
+ extern in e2fsck.h to prevent -Wall warnings.
+
+ * pass4.c (e2fsck_pass4): Remove unused variable 'j'.
+
+1998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * super.c (check_super_block): Fix broken superblock sanity check
+ when calculating blocks_per_group if s_log_frag_size !=
+ s_log_block_size. Since we don't support fragments, this
+ isn't a bug deal, but it's good to get it fixed.
+
1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
* unix.c: Fix bug in check of feature set, to make sure we can
/* super.c */
void check_super_block(e2fsck_t ctx);
+errcode_t e2fsck_get_device_size(e2fsck_t ctx);
/* swapfs.c */
void swap_filesys(e2fsck_t ctx);
#endif
struct problem_context pctx;
__u16 link_count, link_counted;
- int group, max, j;
+ int group, max;
#ifdef RESOURCE_TRACK
init_resource_track(&rtrack);
EXT2_BLOCK_SIZE(ctx->fs->super),
&ctx->num_blocks));
}
-#else
-extern errcode_t e2fsck_get_device_size(e2fsck_t ctx);
#endif
void check_super_block(e2fsck_t ctx)
return;
}
- should_be = s->s_frags_per_group /
- (s->s_log_block_size - s->s_log_frag_size + 1);
+ should_be = s->s_frags_per_group >>
+ (s->s_log_block_size - s->s_log_frag_size);
if (s->s_blocks_per_group != should_be) {
pctx.blk = s->s_blocks_per_group;
pctx.blk2 = should_be;
+1998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * Makefile.elf-lib (installdirs): Change use of DLL_INSTALL_DIR to
+ ELF_INSTALL_DIR. (Doesn't make a difference currently,
+ but it's correct this way.)
+
Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Release of E2fsprogs 1.11
install-shlibs install:: $(ELF_LIB) installdirs-elf-lib
$(INSTALL_PROGRAM) $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
$(STRIP) --strip-debug \
- $(DESTDIR)$(DLL_INSTALL_DIR)/$(ELF_LIB)
- $(LN_S) -f $(ELF_LIB) $(DESTDIR)$(DLL_INSTALL_DIR)/$(ELF_SONAME)
- $(LN_S) -f $(DLL_INSTALL_DIR)/$(ELF_SONAME) \
+ $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_LIB)
+ $(LN_S) -f $(ELF_LIB) $(DESTDIR)$(ELF_INSTALL_DIR)/$(ELF_SONAME)
+ $(LN_S) -f $(ELF_INSTALL_DIR)/$(ELF_SONAME) \
$(DESTDIR)$(ulibdir)/$(ELF_IMAGE).so
-ldconfig
+1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * getversion.c (getversion): Return 0 if there's no error.
+
+ * fgetversion.c (fgetversion): Pass the address of the temporary
+ variable instead of the unitialized variable to the
+ EXT2_IOC_GETVERSION ioctl.
+
Mon Mar 9 08:05:30 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c,
fd = open (name, O_RDONLY|O_NONBLOCK);
if (fd == -1)
return - 1;
- r = ioctl (fd, EXT2_IOC_GETVERSION, ver);
+ r = ioctl (fd, EXT2_IOC_GETVERSION, &ver);
*version = ver;
close (fd);
return r;
r = ioctl (fd, EXT2_IOC_GETVERSION, &ver);
*version = ver;
+ return 0;
#else /* ! HAVE_EXT2_IOCTLS */
extern int errno;
errno = EOPNOTSUPP;