« Previous | Next » 

Revision 18cd8808

ID18cd8808a42f4ca63dec5ead58586c05a05a909b

Added by ftigeot over 2 years ago

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Review assignments Add