Subject: CVS commit: syssrc/sys/ufs/ffs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/29/2001 13:26:37
Module Name: syssrc
Committed By: lukem
Date: Mon Oct 29 11:26:36 UTC 2001
Modified Files:
syssrc/sys/ufs/ffs: ffs_bswap.c
Log Message:
ffs_sb_swap() fixes:
- calculate the offset and length of the postbl before byteswapping.
problem noted by der Mouse.
- use offsetof() to determine # of fields to calculate in initial
loop, rather than hard-coding in `52 fields'
- improve comments.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 syssrc/sys/ufs/ffs/ffs_bswap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.