DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: VFS accounting: handle file truncation on open(2)
commit 18cd8808a42f4ca63dec5ead58586c05a05a909b
Author: Francois Tigeot <ftigeot@wolfpond.org>
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]