]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[fifolog] wrap the recno when we hit the end of the provided file size.
authorAdrian Chadd <adrian@FreeBSD.org>
Sun, 28 Jun 2020 06:52:39 +0000 (06:52 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sun, 28 Jun 2020 06:52:39 +0000 (06:52 +0000)
commit016bac89db9ce584b0a5980b119c35b9825ab0f8
tree6302ded4983d005cf5fdac5b0fd2160661d59d18
parent5211c24ddf31118fd07150915d034cea03c377d1
[fifolog] wrap the recno when we hit the end of the provided file size.

Without this the log just keeps growing to infinity.

Reviewed by: phk
Differential Revision: https://reviews.freebsd.org/D25478
usr.sbin/fifolog/lib/fifolog_write_poll.c