OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Brad Smith (bradcvs.openbsd.org)
Date: Sat May 21 2005 - 13:05:58 CDT


CVSROOT: /cvs
Module name: src
Changes by: bradcvs.openbsd.org 2005/05/21 12:05:58

Modified files:
        sys/ntfs : TODO ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c

Log message:
- use MIN()/MAX() rather than min()/max(), to avoid possible truncation
of 64bit values to 'int'
- read always single cluster of data, to avoid confusing the buffer
cache; this appears to fix the random file content corruption which
happens when more than one cluster is read at the same time, i.e. for
files > 3*cluster_size
- fix some questionable pointer arithmetics; gcc-3.4.x didn't like it
- g/c redundant debug printf
- remove all traces of non-working quota support
add quota support to TODO - makes sense only once writing support
would be implemented, and only once NTFS would support notion of file 'owner'
- use 64bit local variable for free space computation

From NetBSD

- Comment fixes from joris

ok millert joris pedro