Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-10-16 | Use daddr64_t for logical blocks, okay krw@ thib@ mickey@ | Pedro Martelletto | |
2006-10-03 | Introduce daddr64_t and use it for physical block numbers | Pedro Martelletto | |
Okay weingart@, "I'm game with putting my name on it" dlg@ | |||
2006-07-18 | Swap inode's associated device number on big-endian architectures when | Pedro Martelletto | |
calling checkalias(), Daniel Junglas <dju@sysgo.com>, thanks. | |||
2006-06-18 | Under certain circumstances, ext2fs_inactive() can be called without a | Pedro Martelletto | |
backing dinode, in which case we just want to recycle the vnode. Fixes a crash reported by reyk@, okay krw@, mickey@ and pat@. | |||
2006-04-19 | Remove unused mount list simple_lock() goo | Pedro Martelletto | |
2006-01-09 | Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks. | Pedro Martelletto | |
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64. | |||
2005-12-28 | Use the DIP macros to uniformly access fields from UFS1 and UFS2 dinodes. | Pedro Martelletto | |
No functional change, okay tedu@. | |||
2005-12-16 | Fix unsigned < 0 check in ext2fs_readdir(), okay krw@ | Pedro Martelletto | |
2005-12-15 | A sanity check for an unsigned variable being < 0 after a subtraction | Kenneth R Westerback | |
is not useful. Check the value about to be subtracted. Spotted by lint. ok pedro@ | |||
2005-12-14 | Make ext2fs use a memory pool to allocate inodes, okay tedu@ | Pedro Martelletto | |
2005-12-11 | Use e2fs_sbsave() instead of bcopy() when dumping the super-block back | Pedro Martelletto | |
to disk, fixes ext2fs on big-endian architectures | |||
2005-12-11 | inode/dinode separation for ext2fs | Pedro Martelletto | |
2005-11-30 | No need for vfs_busy() and vfs_unbusy() to take a process pointer | Pedro Martelletto | |
anymore. Testing by jolan@, thanks. | |||
2005-11-06 | Replace obsolete comment with one that better describes reality. | Pedro Martelletto | |
2005-10-06 | typo | Pedro Martelletto | |
2005-10-06 | Use part of the reserved space on the disk inode to scatter 16 more bits | Pedro Martelletto | |
for the UID and GID, making them 32-bit. Based on what Linux does, with a slightly different implementation. Endianess issue in fsck noted by miod@, okay deraadt@. | |||
2005-10-04 | typo | Pedro Martelletto | |
2005-08-14 | KNF | Pedro Martelletto | |
2005-08-14 | When leaving ext2fs_symlink(), unlock the vnode on both error and | Pedro Martelletto | |
non-error cases, so that later on we don't deadlock trying to look it up. Fixes buglet introduced in revision 1.38, okay deraadt@. | |||
2005-07-28 | no point in having an inode pool if we don't use it | Pedro Martelletto | |
2005-07-28 | KNF | Pedro Martelletto | |
2005-07-03 | Extended Attributes was a piece to get to ACLs, however ACLs have not | Dale Rahn | |
been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained. | |||
2005-05-02 | quadradically -> quadratically, lots of | Pedro Martelletto | |
2005-04-30 | Add support for large files (> 4GB). | Niall O'Higgins | |
Automatically converts old filesystems to use this if they are already at revision 1 (like Linux). Revision 0 filesystems don't get converted (unlike Linux). From NetBSD | |||
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
2004-09-18 | hierarchy is spelled hierarchy, from Jonathan Gray | Ted Unangst | |
2004-07-13 | Change mode_t and nlink_t from 16bit to 32bit. This allows us to | Todd C. Miller | |
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@ | |||
2004-06-24 | This moves access to wall and uptime variables in MI code, | Thorsten Lockert | |
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | |||
2004-06-21 | First step towards more sane time handling in the kernel -- this changes | Thorsten Lockert | |
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@ | |||
2004-06-04 | rootvp is already externed in systm.h, no need for a local extern | Ted Unangst | |
2004-05-14 | use pool for namei pathbuf. testing ok millert@ tdeval@ | Ted Unangst | |
2004-05-06 | Two missing ifdef FIFO; noticed by form@pdp-11.org.ru. | Alexander Yurchenko | |
ok tedu@ | |||
2004-03-02 | call fifo_reclaim here too | Ted Unangst | |
2004-01-20 | some pieces of ufs2. help testing otto sturm | Ted Unangst | |
2003-12-06 | u_int8_t variable can't be > 255; pointed out by Mr. GCC3. | Alexander Yurchenko | |
ok millert@ | |||
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-08-25 | rename struct dinode to ufs1_dinode. clears the namespace and makes | Ted Unangst | |
way for some future work. no function changes yet. few other little cleanups. help testing otto@ and markus@ | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-14 | constify vfsops; tedu@ ok | Michael Shalayeff | |
2003-08-11 | if we run out of space, make the dead vnode VNON. if a VBLK gets out, it | Ted Unangst | |
causes trouble later. netbsd pr22419 | |||
2003-07-06 | remove ext2fs_vinit. it wasn't used and is identical to ufs_vinit. | Ted Unangst | |
otto made the diff for me, thanks. | |||
2003-07-06 | reset inode fields if deleted, prevents a panic after deleting a device. | Ted Unangst | |
from netbsd via otto moerbeek | |||
2003-07-06 | fix off by one. inodes start at 1, so e2fs_icount is a valid inode number. | Ted Unangst | |
from otto moerbeek | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-26 | fiddle with some type names. change most instances of ufs_daddr_t to | Ted Unangst | |
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider it deprecated. no functional changes. inspired by freebsd. ok art@ | |||
2003-01-31 | File system locking fixups, mostly from NetBSD: | Artur Grabowski | |
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok | |||
2002-11-08 | Implement simple vnodeop inheritance for specfs and fifofs. | Artur Grabowski | |
The inheritace is implemented by setting the default vnodeop to a bypass op that repeats the operation on the spec/fifo vnodeop vector. The overhead of one extra indirect function call is worth the cleanup and improved correctness. This actually solves a few bugs where some vnode ops were missing from some vectors (like kqfilter or revoke). (and even more on the ubc branch). Inspired by the same thing done in FreeBSD. | |||
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-07-29 | Fix two off-by-one errors when sanity-checking inode numbers. In | Federico G. Schwindt | |
ext2fs, inode numbers start at 1, so the maximum valid inode number is (s_inodes_per_group * s_groups_count), not one less. From FreeBSD. costa@ ok. | |||
2002-07-29 | add 2 flags from ext3. useful to help you diagnose problems. | Federico G. Schwindt | |