summaryrefslogtreecommitdiffstats
path: root/sys/ntfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove _KERNEL_OPT leftovers.miod2007-02-111-5/+1
|
* Remove unused NetBSD new-style %b strings.miod2006-05-291-4/+1
|
* Remove unused mount list simple_lock() goopedro2006-04-191-3/+2
|
* Use more queue macros rather than doing it by hand; ok otto@ krw@miod2006-03-051-3/+3
|
* sysinst my ass.miod2006-01-131-4/+2
|
* Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks.pedro2006-01-091-1/+5
| | | | Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64.
* Remove unnecessary lockmgr() archaism that was costing too much in termspedro2005-11-191-35/+4
| | | | | | of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
* Remove v_vnlock from struct vnode, okay krw@ tedu@pedro2005-10-191-6/+2
|
* Use free(9) to free memory allocated with malloc(9), okay krw@, marius@pedro2005-10-101-2/+2
|
* Fix our NTFS readdir function.brad2005-05-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | To check a directory's in-use bitmap bit by bit, we use a pointer to an 8 bit wide unsigned value. The index used to dereference this pointer is calculated by shifting the bit index right 3 bits. Then we do a logical AND with the bit# represented by the lower 3 bits of the bit index. This is an idiomatic way of iterating through a bit map with simple bitwise operations. This commit fixes the bug that we only checked bits 3:0 of each 8 bit chunk, because we only used bits 1:0 of the bit index for the bit# in the current 8 bit value. This resulted in files not being returned by getdirentries(2). Change the type of the bit map pointer from `char *' to `u_int8_t *'. From FreeBSD ok pedro
* The printf(9) `%p' conversion specifier puts an "0x" inbrad2005-05-221-3/+3
| | | | | | | | | front of the pointer value. Therefore, remove the "0x" from the format string. From FreeBSD ok millert@
* fix parenthesisbrad2005-05-211-2/+2
|
* - use MIN()/MAX() rather than min()/max(), to avoid possible truncationbrad2005-05-214-50/+46
| | | | | | | | | | | | | | | | | | | | 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@
* fix commentbrad2005-04-201-2/+2
|
* comment out some code which is causing ntfs panics duejoris2005-04-161-1/+3
| | | | | | | to the fact ntfs uses the generic locking functions which do not lock anything right now. ok pedro@
* fix a page fault that occurs when a reclaimed vnode is then reused.pat2005-03-083-23/+20
| | | | | | from FreeBSD ok pedro tedu miod, tested by millert and myself
* Before carrying on with the mount request, make sure the process haspedro2005-02-011-2/+18
| | | | enough permissions to access the given device. ok millert@
* * plug memory leak on mount failure.pat2004-12-091-8/+16
| | | | | | * spacing ok tedu pedro millert otto
* constify vfsops; tedu@ okmickey2003-08-141-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-022-12/+4
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* rename export to export_info for c++ safety. report by naddy@tedu2003-05-241-2/+2
|
* un __Ptedu2003-05-206-142/+142
|
* fix the tagsmickey2003-05-2014-13/+14
|
* by popular request, NTFS support. read only.tedu2003-05-2014-0/+5756
The code comes from NetBSD and was ported by Julian Bordet. ok deraadt@