Module Name: src Committed By: manu Date: Mon Oct 6 04:41:59 UTC 2014
Modified Files: src/sys/fs/puffs: puffs_vnops.c Log Message: Improve zero-fill of last page after shrink fix: 1) do it only if the file is open for writing, otherwise we send write requests to the FS on a file that has never been open. 2) do it inside existing if (vap->va_size != VNOVAL) block To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/sys/fs/puffs/puffs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.