was being passed to libxfs_clear_log.
All recent versions of xfs_repair will fix this, however, because xfs_repair
uses the correct stripe unit value.
#
PKG_MAJOR=2
PKG_MINOR=4
-PKG_REVISION=9
+PKG_REVISION=10
PKG_BUILD=0
+xfsprogs (2.4.10-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Nathan Scott <nathans@debian.org> Mon, 12 May 2003 16:16:49 +1000
+
xfsprogs (2.4.9-1) unstable; urgency=low
* New upstream release
- -- Nathan Scott <nathans@debian.org> Fri, 02 May 2003 09:34:17 +1000
+ -- Nathan Scott <nathans@debian.org> Fri, 2 May 2003 09:34:17 +1000
xfsprogs (2.4.4-1) unstable; urgency=low
-[cvs]
+xfsprogs-2.4.10 (12 May 2003)
+ - Fix a bug in mkfs - creating version 2 logs, an incorrect
+ stripe unit value was being passed to libxfs_clear_log.
+ All recent versions of xfs_repair will fix this, however,
+ because xfs_repair uses the correct stripe unit value.
- Fix a bug in xfs_logprint, when dumping a corrupt log.
- FreeBSD updates from Alexander Kabaev.
len = 1;
buf = libxfs_getbuf(device, start, len);
if (!buf)
- return -1;
+ return -1;
memset(XFS_BUF_PTR(buf), 0, BBSIZE * len);
head = (xlog_rec_header_t *)XFS_BUF_PTR(buf);
}
if (libxfs_writebuf(buf, 0))
- return -1;
+ return -1;
buf = libxfs_getbuf(device, start + 1, 1);
if (!buf)
- return -1;
+ return -1;
/* now a log unmount op */
memset(XFS_BUF_PTR(buf), 0, BBSIZE);
sizeof(magic));
if (libxfs_writebuf(buf, 0))
- return -1;
+ return -1;
return 0;
}
sbp->sb_width = dswidth;
if (dirversion == 2)
sbp->sb_dirblklog = dirblocklog - blocklog;
- if (logversion == 2) /* This is stored in bytes */
- sbp->sb_logsunit = (lsunit == 0) ? 1 : XFS_FSB_TO_B(mp, lsunit);
- else
+ if (logversion == 2) { /* This is stored in bytes */
+ lsunit = (lsunit == 0) ? 1 : XFS_FSB_TO_B(mp, lsunit);
+ sbp->sb_logsunit = lsunit;
+ } else
sbp->sb_logsunit = 0;
if (iaflag) {
sbp->sb_inoalignmt = XFS_INODE_BIG_CLUSTER_SIZE >> blocklog;