]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
During truncation, have to notify the VM about the new size
authormckusick <mckusick@FreeBSD.org>
Tue, 29 Sep 1998 23:28:32 +0000 (23:28 +0000)
committermckusick <mckusick@FreeBSD.org>
Tue, 29 Sep 1998 23:28:32 +0000 (23:28 +0000)
commit17402e8897afa757a79c2fae7f24e638041df4f4
treee41aa26e233e6659c58f5c43c46cec08abb79641
parent8fcb760f37a9f0881158fd93359e4f1e6a9743d0
During truncation, have to notify the VM about the new size
of the NFS file *before* doing the nfs_vinvalbuf operation.
Otherwise some invalid data may show up in an mmap.
sys/nfs/nfs_vnops.c
sys/nfsclient/nfs_vnops.c