[PVFS-developers] Truncate bug

Porter Don PorterDE at mercury.hendrix.edu
Thu Jul 1 18:39:09 EDT 2004


Well, I found another bug in this function that is almost undoubtedly the
result of me being careless:

In the patch I submitted to have do_truncate use cached file sizes, it opens
the metadata file as _read_only_ when it tries to store the file size.  In
any case, attached is another 2-liner to atone for the error.  Sorry for the
mistake.

don

-------------- next part --------------
A non-text attachment was scrubbed...
Name: truncate.patch
Type: application/octet-stream
Size: 433 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs-developers/attachments/20040701/f5cd419e/truncate.obj


More information about the PVFS-developers mailing list