summaryrefslogtreecommitdiffstats
path: root/contrib/bmake/getopt.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2014-08-14 23:38:04 +0000
committermckusick <mckusick@FreeBSD.org>2014-08-14 23:38:04 +0000
commitd042b7653225b4e6f4a35f5cc44fb95a02edf775 (patch)
treed5eac70f2e32c6549e55859c06c5eed5ccc3b37e /contrib/bmake/getopt.c
parentcabf1ab5da244a22f50146e3ebe638c11ce55b7e (diff)
downloadFreeBSD-src-d042b7653225b4e6f4a35f5cc44fb95a02edf775.zip
FreeBSD-src-d042b7653225b4e6f4a35f5cc44fb95a02edf775.tar.gz
MFC of 269674:
The journal is only prepared to handle full-size block numbers, so we have to adjust freeblk records to reflect the change to a full-size block. For example, suppose we have a block made up of fragments 8-15 and want to free its last two fragments. We are given a request that says: FREEBLK ino=5, blkno=14, lbn=0, frags=2, oldfrags=0 where frags are the number of frags to free and oldfrags are the number of fragments to keep. To block align it, we have to change it to have a valid full-size blkno, so it becomes: FREEBLK ino=5, blkno=8, lbn=0, frags=2, oldfrags=6 Submitted by: Mikihito Takehara Tested by: Mikihito Takehara Reviewed by: Jeff Roberson
Diffstat (limited to 'contrib/bmake/getopt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud