commit 18cd8808a42f4ca63dec5ead58586c05a05a909b
Author: Francois Tigeot <[email protected]>
Date: Thu Mar 22 17:51:47 2012 +0100
VFS accounting: handle file truncation on open(2)
* Files succesfully opened with O_TRUNC are truncated to zero length.
This case was not previously handled, leading to a growing drift
between VFS counters and reality.
* Fix a buildworld issue caused by the last VFS accounting commit
Summary of changes:
sys/kern/vfs_vnops.c | 8 ++++++++
sys/sys/vfs_quota.h | 3 +++
2 files changed, 11 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/18cd8808a42f4ca63dec5ead58586c05a05a909b
--
DragonFly BSD source repository