summaryrefslogtreecommitdiffstats
path: root/sys/ntfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup our filesystem pathconf() code a little bit to make it easiermatthew2012-06-201-8/+11
| | | | | | to diff against FreeBSD's. From Brad; no object file change on amd64.
* respect the MNT_FORCE flag in ntfs_unmount and proceed even if there'smikeb2011-12-202-7/+9
| | | | | | | someone holding a system vnode. prevents crashes with forced unmounts. silence ntfs_reclaim so that kernel won't spit out vprint's angrily. ok krw, beck
* move the specfs code to a place people can see it; ok guenther thib krwderaadt2011-07-043-9/+6
|
* bread does nothing with its ucred argument. remove it. ok matthewtedu2011-07-042-8/+7
|
* Every single vop_default is set to eopnotsupp, so retire itthib2011-04-051-2/+1
| | | | | | | | and return EOPNOTSUPP directly from the VOP_* functions. Filesystems should, at some point fill in every function in the vop_default struct so we can get rid of the 'if' statements in VOP_*.
* Teach ntfs_mount() how to handle disklabel UIDs.jsing2011-04-031-5/+16
| | | | Diff from Antti Harri.
* Bring back the "End the VOP experiment." diff, naddy's issues wherethib2010-12-213-101/+68
| | | | | | unrelated, and his alpha is much happier now. OK deraadt@
* Make sure readdir cookies are actually allocated with the correct sizemiod2010-11-181-3/+3
| | | | | | (in case eventually we change their type from u_long to something else), and do not truncate them to 32 bits in the ntfs code. ok tedu@
* Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)thib2010-09-103-68/+101
| | | | have been resolved.
* nessesary -> necessary.miod2010-09-091-2/+2
|
* Allow NTFS to compile by cutting it over to the new VOP world order.thib2010-09-073-101/+68
| | | | | | Small cleanup while here, nuke the ntfs_bypass function and just use eopnotsupp like every other filesystem, it makes no sense to return ENOTTY for unimplemented VOPs.
* revert previous "simplification". kcornies at gmail says it doesn't work.tedu2010-09-044-24/+91
|
* the upper case table code was a lot more complicated than it needed to be.tedu2010-08-224-91/+24
|
* these files don't need to include nearly so many headerstedu2010-08-122-45/+22
|
* clean up some macro obfuscation and assorted styling problems.tedu2010-08-125-47/+37
| | | | fix a bonus off by one bug. ok matthew
* do not unlock vnode before calling vput. should fix ray's panic.tedu2010-08-081-2/+1
| | | | ok deraadt krw
* Every time you ignore uiomove() return value, $DEITY kills a littlemiod2010-08-061-14/+28
| | | | | | $ADORABLE_FELINE. ok deraadt@ matthew@
* Last bit of thib@ locking diff from long ago. Put proper lockingkrw2010-07-031-4/+6
| | | | | | around vinvalbuf(). vrele() -> vput() after VOP_CLOSE(). ok tedu@
* keeping a TODO file here implies somebody carestedu2010-06-291-38/+0
|
* makefstype was only used in ported from freebsd filesystems. fix themtedu2010-06-291-2/+2
| | | | and remove the function. ok thib
* simething -> somethingmiod2010-06-061-2/+2
|
* It is about time that we stopped pretending simple_locks are locks.oga2010-04-231-12/+7
| | | | | | | | | | | replace ntfs_nthash_slock usage with comments prefixed XXXLOCKING (for grepability). This lock looks to be correct, but it could well be the bad way to do it (having a rwlock for inserts to avoid races inserting the same inode but then simple locking on list accesses). approach discussed with deraadt@
* remove proc.h include from uvm_map.h. This has far reaching effects, astedu2010-04-201-4/+1
| | | | | | sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
* - properly spell 'exception' in commentsjasper2010-03-011-2/+2
| | | | - properly spell 'usefulness'
* - remove super-obvious comments from vnodeop_entries[]jasper2009-08-139-785/+17
| | | | | | - remove #ifdef someos blocks, makes this a tad easier to read agreed by art@ and thib@
* Remove the VREF() macro and replaces all instances with a call to verf(),thib2009-07-093-7/+7
| | | | | | | | | | | which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many.
* - make sure biodone() gets run at IPL_BIOjasper2009-06-021-2/+4
| | | | OK thib@
* convert lockmgr over to rwlock in ntfs, mostly trivial.oga2009-03-255-22/+20
| | | | Tested by a couple of people, no regressions.
* Avoid #pragma pack(1) and unify everything towards using __packed.deraadt2008-09-011-19/+16
| | | | | | | This requires that structures defined within __packed structures must independently request that they themselves become __packed, too. worked on with toby CVS: ----------------------------------------------------------------------
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Remove commented out NetBSD __KERNEL_RCSID macro usage.brad2008-05-136-36/+6
| | | | ok dlg@
* MALLOC/FREE -> malloc/freehshoexer2007-12-092-22/+21
| | | | ok gilles
* Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.krw2007-10-061-5/+5
|
* MALLOC+bzero -> malloc+M_ZERO.krw2007-10-031-9/+4
| | | | | | | | In ip_esp.c all allocated memory is now zero'd in the "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not initialized by the bzero() call. Noticed by chl@. "Looks good" art@ "seems ok" chl@
* Only the most obvious bzero() -> M_ZERO changes. No cast changes, nokrw2007-09-171-3/+2
| | | | | MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
* do the daddr_t -> daddr64_t or int32_t dance here as wellderaadt2007-06-022-8/+6
| | | | "this code sucks -- pedro", "just put it in -- tom".
* more vop argument "ap = v" comment removal; ok pedroderaadt2007-06-011-89/+17
|
* Remove the i_interlock simplelock from struct ntnodethib2007-04-122-12/+4
|
* 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
|