lf_alloc_range() must initialize the returned structure sufficiently such that
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 11 May 2004 02:11:36 +0000 (02:11 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 11 May 2004 02:11:36 +0000 (02:11 +0000)
commiteacc5025b0cba1caf32db647c1cf6efda92135f1
tree71ae4d2a076b50961efbed80380ea58b3a2a42ed
parenta42e2898fd1adb6b33072f105976abadb051a429
lf_alloc_range() must initialize the returned structure sufficiently such that
lf_destroy_range() doesn't explode on us and corrupt system memory.

This should fix the serious FS corruption reports we've been getting.
sys/kern/kern_lockf.c