Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-27 | lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */ | Philip Guenther | |
(others require more care) | |||
2015-09-23 | remove lockmgr_printinfo stubs. from Martin Natano | Ted Unangst | |
2015-04-17 | Tweaks utimensat/futimens handling to always update ctime, even when both | Philip Guenther | |
atime and mtime are UTIME_OMIT (at least for ufs, tmpfs, and ext2fs), and to correctly handle a timestamp of -1. ok millert@ | |||
2015-03-14 | Remove some includes include-what-you-use claims don't | Jonathan Gray | |
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@ | |||
2015-02-10 | First step towards making uiomove() take a size_t size argument: | Miod Vallat | |
- rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@ | |||
2015-01-20 | MAXFRAG was always placed incorrectly in <sys/param.h> It is primarily | Theo de Raadt | |
used in disklabel type tools, newfs, fsck, when related to ufs or ufs-derived filesystems, but also in a struct. Those things always include <ufs/ffs/fs.h>. Move it there ok guenther, tested in ports by sthen | |||
2015-01-11 | Casting a gid_t to gid_t for a gid_t argument is overkill | Philip Guenther | |
2015-01-09 | rename desiredvnodes to initialvnodes. less of a lie. ok beck deraadt | Ted Unangst | |
2014-12-29 | Explicitely include <uvm/uvm_extern.h> in order to build on variable page size | Miod Vallat | |
architectures. | |||
2014-12-23 | change pool_init allocator to NULL and pass PR_WAITOK in flags as a sign | Ted Unangst | |
that these don't need to support interrupts | |||
2014-12-19 | Use <sys/endian.h> instead of <machine/endian.h> | Philip Guenther | |
ok dlg@ mpi@ bcook@ millert@ miod@ | |||
2014-12-12 | free correct size. it's variable! | Ted Unangst | |
2014-12-12 | sizeof(*ptr) for some free() | Ted Unangst | |
2014-12-07 | don't truncate the dirhash if ufs truncate fails. | Ted Unangst | |
adapted from a freebsd commit by david hill | |||
2014-12-04 | use siphash for dirhash. ok deraadt dlg | Ted Unangst | |
2014-11-18 | use siphash for key lookups in all the filesystem hashes. | David Gwynne | |
ok deraadt@ tedu@ | |||
2014-11-18 | move arc4random prototype to systm.h. more appropriate for most code | Ted Unangst | |
to include that than rdnvar.h. ok deraadt dlg | |||
2014-11-17 | apply siphash to the key selection for the ufs inode hash. | David Gwynne | |
ok tedu@ | |||
2014-11-03 | include sys/unistd.h where needed instead of indirect reliance. ok jsg | Ted Unangst | |
2014-10-13 | Add dumping of struct dqblk done by quotactl(2) | Philip Guenther | |
ok millert@ | |||
2014-10-13 | Calling quotactl(QCMD(Q_QUOTAON)) twice with the same filesystem, | Philip Guenther | |
type, and path shouldn't leak vnode or ucred references. ok millert@ | |||
2014-09-14 | remove uneeded proc.h includes | Jonathan Gray | |
ok mpi@ kspillner@ | |||
2014-07-31 | always use the little-endian copy of a superblock. | Martin Pelikan | |
Damn those memcpy-wrapping macros! "do it" deraadt | |||
2014-07-31 | use proper on-disk inode size: no more, no less. | Martin Pelikan | |
Reported by Roman Yakovlev, thanks! "do it now" deraadt | |||
2014-07-14 | better type safety and KNF. | Martin Pelikan | |
Because ext2fs has only 32-bit inode numbers, use ufsino_t as in FFS. Disk blocks are u_int32_t as well, because we don't support the 64BIT flag. When we do, there's going to be a lot more going on than just daddr_t. While there, add some journaling-related bits into the superblock to play with. ok guenther | |||
2014-07-14 | revert free checks in here. this seems to be a bit too agressive at the | Bob Beck | |
moment and now is not the time. hitting these in here causes chaos. We need to do these, but at a better time than right after a hackathon and before release. ok guenther@ | |||
2014-07-13 | pass correct sizes to free() | Ted Unangst | |
2014-07-13 | use mallocarray | Ted Unangst | |
2014-07-13 | kill fs2hXX/h2fsXX macros with letohXX/htoleXX | Martin Pelikan | |
The reason being that ext2 structures are little-endian but JBD2 journal is big-endian. Don't confuse readers by talking about "file system endian". Some KNF while there. ok guenther | |||
2014-07-13 | fill in proper sizes in free(9) | Martin Pelikan | |
2014-07-13 | ext4 (extents) read support | Martin Pelikan | |
Tested on amd64 with > 4GB files and 50,000 subdirectories. From FreeBSD, thanks! ok deraadt guenther | |||
2014-07-12 | add a size argument to free. will be used soon, but for now default to 0. | Ted Unangst | |
after discussions with beck deraadt kettenis. | |||
2014-07-12 | fix a type error on BE architectures | Martin Pelikan | |
2014-07-12 | in-memory superblock was being filled in two places -> merge them | Martin Pelikan | |
ok tedu | |||
2014-07-12 | pull dirblock search code from ext2fs_lookup() like FreeBSD has done | Martin Pelikan | |
ok tedu | |||
2014-07-12 | print more useful information on wrong superblocks. | Martin Pelikan | |
Function renames for consistency and readability. No functional change. | |||
2014-07-12 | revert previous unwanted commit. sorry! | Martin Pelikan | |
2014-07-12 | *** empty log message *** | Martin Pelikan | |
2014-07-11 | new dinode format for big-endian conversion routines | Martin Pelikan | |
2014-07-11 | Prevent division by zero on erroneous file systems. | Tobias Stoeckmann | |
ok pelikan@ | |||
2014-07-11 | split ext2fs_read for the upcoming ext4 extent bits, like FreeBSD has done | Martin Pelikan | |
ok guenther | |||
2014-07-11 | determine and use maximum file size instead of magical constants | Martin Pelikan | |
ok guenther | |||
2014-07-11 | sizeof good old inode is 128, the structure has expanded | Martin Pelikan | |
2014-07-11 | updated inode format, whitespace, re-formatting | Martin Pelikan | |
2014-07-11 | separate searchslot variables into a structure like FreeBSD | Martin Pelikan | |
ok guenther | |||
2014-07-10 | prepare for upcoming ext4 read support | Martin Pelikan | |
Parts of the on-disk inode changed their meaning in order to support bigger sizes. More flags & prettification. No functional change. ok guenther | |||
2014-07-08 | decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h | Theo de Raadt | |
don't need to be married. ok guenther miod beck jsing kettenis | |||
2014-05-29 | fsck should use the same values in checking as newfs does in creating | Kenneth R Westerback | |
a filesystem. fs_nspf and its derivitives like fs_spc are DEV_BSIZE values, not actual hardware disk sector values. Adjust initializations accordingly. Tweak header and man page comments to make the DEV_BSIZE'ness more obvious for future spelunkers. No-op for DEV_BSIZE (a.k.a. 512-byte) sector devices but should help checking filesystems on, e.g., 4k-byte sector devices. ok jmc@ on the man page tweaks. | |||
2014-05-27 | Zap a bunch of trailing whitespace. | Kenneth R Westerback | |
2014-05-22 | From FreeBSD: the second argument to UFS_UPDATE/ffs_update is just a | Philip Guenther | |
boolean, not a MNT_* flag. ok beck@ |