[PVFS-developers] Fix for Cached File Sizes
Rob Ross
rross@mcs.anl.gov
Thu, 15 Jan 2004 11:19:06 -0600 (CST)
Thanks again; also applied.
Rob
On Mon, 15 Dec 2003, Porter Don wrote:
> Another bug recently uncovered by Martin K. Petersen is that when one
> truncates a file, the size is not updated on the manager until the file is
> opened and closed.
>
> Attached is a patch which updates the file size stored on the manager upon a
> successful truncation.
>
> Also, there was a note that there wasn't any permission checking on this
> file, so I added a call to meta_access to check for write permission.