]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly calculate the last used logical block of a file when checking
authormckusick <mckusick@FreeBSD.org>
Sat, 2 Mar 2019 21:30:01 +0000 (21:30 +0000)
committermckusick <mckusick@FreeBSD.org>
Sat, 2 Mar 2019 21:30:01 +0000 (21:30 +0000)
commit40fbe3a922b9969eb6176b33cd687813dbae8811
tree4b9ddf3595cf620b07707db25003c8a753de971f
parent778bf100cf86f1772cb504bc493cdb730ac6b094
Properly calculate the last used logical block of a file when checking
inodes that reference directories. While here tighten the check for
comparing the last logical block with the end of the file.

Reported by:  Peter Holm
Tested by:    Peter Holm
Sponsored by: Netflix
sbin/fsck_ffs/inode.c
sbin/fsck_ffs/pass1.c