Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-20 | Change the UFS DIP macros to be aware of the FFS2 kernel option by not | Matthew Dempsky | |
bothering to check the mount type when FFS2 support is omitted. ok krw@, jasper@; "i like it" tedu@ | |||
2010-08-02 | Fix readlink(2) on FFS and ext2 filesystems to consistently return | Matthew Dempsky | |
EFAULT when appropriate. ok deraadt@, miod@ | |||
2010-07-23 | Improve English. | Ray Lai | |
Help by jmc, earlier version OK thib krw | |||
2010-07-19 | Not enough OK's, and from the wrong people. You should know how to do | Theo de Raadt | |
collaborative development by now, Owain | |||
2010-07-19 | Replace XXXLOCKING comments by me (replacing simple_locks that are the | Owain Ainsworth | |
same thing) with mutexes. From Gabriel Kihlman (gk AT stacken DOT kth DOT se); thanks! ok art@ ages ago. | |||
2010-07-13 | fix overflow of dirsize; from FreeBSD; PR 6426; ok beck@ millert@ | Otto Moerbeek | |
2010-07-03 | de-static ufs_chown and ufs_chmod so they show up in DDB. | Thordur I. Bjornsson | |
2010-06-29 | remove lies. the arguments are actually used. | Thordur I. Bjornsson | |
2010-06-09 | Teach FFS mounts about disklabel UIDs. This allows file systems to be | Joel Sing | |
mounted by specifying a disklabel UID followed by a dot and a partition. For example: mount -t ffs 0123456789abcdef.a /mnt ok otto@ | |||
2010-05-18 | dont let sys/ioctl.h imply that you get the ioctls in dkio.h. this | David Gwynne | |
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@ | |||
2010-04-25 | dirhash cna cope with real locks (and has before), enable mutexes here. | Ted Unangst | |
ok deraadt | |||
2010-04-23 | simple_lock -> XXXLOCKING for ufh ihash. | Owain Ainsworth | |
I'm actually 99% sure that these locks are right and could be almost trivially converted to an IPL_NONE mutex protecting the hashtable. Any takers? | |||
2010-04-20 | remove proc.h include from uvm_map.h. This has far reaching effects, as | Ted Unangst | |
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 | |||
2010-03-29 | Initialize various uninitialized variables. Found by jsg@ via Clang. | Kenneth R Westerback | |
Feedback from miod@ and kettenis@. ok beck@ | |||
2010-02-16 | add some defines needed for the upcoming newfs_ext2fs; ok miod@ | Otto Moerbeek | |
2010-01-16 | Remove dead assignment and newly created unused variable. | Charles Longeau | |
Found by LLVM/Clang Static Analyzer. ok tedu@ thib@ | |||
2009-12-19 | Re-introduce the remaining bits of thib@'s Aug 2006 VOP_CLOSE() | Kenneth R Westerback | |
locking fixes. Tweak cd9660 code to be the same as everywhere else, no functional change. ok beck@ | |||
2009-10-31 | Use suser when possible. Suggested by miod@. | Federico G. Schwindt | |
miod@ deraadt@ ok. | |||
2009-09-05 | - don't try to shove a daddr64_t value into an int32_t. | Jasper Lievisse Adriaanse | |
eventhough this won't really harm as ext2fs doesn't handle files that large, it was not correct. no objections from thib@ | |||
2009-09-03 | - fix two more format strings wrt daddr64_t values | Jasper Lievisse Adriaanse | |
"sure" deraadt@, ok otto@ | |||
2009-08-21 | - remove statement after panic(), it won't be reached. | Jasper Lievisse Adriaanse | |
ok tedu@ | |||
2009-08-21 | - change two variables to daddr64_t, eventhough they won't overflow | Jasper Lievisse Adriaanse | |
as ext2fs doesn't support filesystems so large, it's more correct this way - fix a format string to %lld for daddr64_t ok tedu@ thib@ | |||
2009-08-20 | - reference correct variable in comment | Jasper Lievisse Adriaanse | |
ok tedu@ | |||
2009-08-14 | - fix function name in vprint() | Jasper Lievisse Adriaanse | |
ok otto@ | |||
2009-08-14 | - use u_char consistently | Jasper Lievisse Adriaanse | |
- minor formatting ok oga@ otto@ | |||
2009-08-14 | - fix format string for daddr64_t to %lld | Jasper Lievisse Adriaanse | |
ok otto@ | |||
2009-08-13 | - remove super-obvious comments from $fs_vnodeop_entries[] | Jasper Lievisse Adriaanse | |
prodded by and ok thib@ agreed by art@ and blambert@ | |||
2009-07-09 | Remove the VREF() macro and replaces all instances with a call to verf(), | Thordur I. Bjornsson | |
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. | |||
2009-06-25 | backout the buf_acquire() does the bremfree() since all callers | Thordur I. Bjornsson | |
where doing bremfree() befure calling buf_acquire(). This is causing us headache pinning down a bug that showed up when deraadt@ too cvs to current, and will have to be done anyway as a preperation for backouts. OK deraadt@ | |||
2009-06-06 | All caller of buf_acquire were doing bremfree before the call. | Artur Grabowski | |
Just put it in the buf_acquire function. oga@ ok | |||
2009-06-04 | tiny tiny space nit | Thordur I. Bjornsson | |
2009-06-02 | blkno's are 64 bit so need %llu, found by Parfait | Theo de Raadt | |
ok oga | |||
2009-01-31 | Rewrite DIRECTSIZ macro using offsetof. As a bonus it elimitanes casting | Alexander Yurchenko | |
pointer to int. ok miod@ tedu@ millert@ | |||
2009-01-17 | Use proper assignment macros for dinode manipulations instead of | Alexander Yurchenko | |
abusing the DIP() macro which is an rvalue and can't be used as an lvalue. No functional changes. ok tedu@ pedro@ | |||
2009-01-15 | Use proper *_ASSIGN() macros in assigments instead of abusing rvalue macros. | Alexander Yurchenko | |
No binary change. ok tedu@ My 1000th commit! | |||
2008-11-24 | styled code is happy code | Ted Unangst | |
2008-11-23 | fancy new ext2fs can have big inodes. we can possibly still read them | Ted Unangst | |
though if no new features are in play. diff from Wouter Godefroy | |||
2008-11-06 | use PAGE_SIZE in FS_KERNMAXFILESIZE() use, note this is not the same as ↵ | Theo de Raadt | |
getpagesize() elsewhere. otto, please fix correctly after | |||
2008-11-06 | Have called pass pagesize into FS_KERNMAXFILESIZE(), because there is no | Theo de Raadt | |
automatic symbol that has this information. PAGE_SIZE is simply not portable, or even fixed on some systems. ok otto | |||
2008-11-02 | introduce a macro for max file size, instead of hardcoding it; ok | Otto Moerbeek | |
millert@ | |||
2008-09-30 | Fix an occasional mfs-related panic on reboot in mfs_close. There's no | Todd C. Miller | |
need to check v_usecount, the buffer queue check is sufficient. From mickey. OK deraadt@ | |||
2008-09-12 | Remove bzero/memset calls after pool_gets by passing the PR_ZERO | Bret Lambert | |
flag to the pool_get call. ok art@, krw@ | |||
2008-08-13 | remove a bunch of bogus ARGSUSED | Thordur I. Bjornsson | |
2008-08-08 | Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a. | Kenneth R Westerback | |
512) bytes; ffs is inextricably tied to using b_blkno and disklabel always uses sectorsize units. Thus use DEV_BSIZE units for all fields describing ffs filesystems and convert to/from sectors where required. This enables the creation and use of ffs filesystems on non-512 byte sectorsize devices. This diff allows i386 and sgi (the two test platforms) to find disklabels that are not on a sectorsize boundary. Same change to further archs coming. This is a no-op on 512-byte sectorsize devices. This work triggered by jsing@'s need to create ffs filesystems on sgi cdroms so we can create cdrom install media for sgi. sgi testing by jsing@ ok jsing@ pedro@ "looks sane" beck@ weingart@ | |||
2008-08-08 | use cgbase() instead of doing arthmetic on fs_fpg when calculating | Thordur I. Bjornsson | |
block# too ensure proper casting. From FreeBSD; ok miod@, pedro@, blambert@ | |||
2008-08-08 | spacing + wrap a line at 79chars. | Thordur I. Bjornsson | |
2008-08-02 | fix printf format specifiers; ok krw@ millert@ deraadt@ | Otto Moerbeek | |
2008-07-22 | Use cgbase() instead of doing arithmetic on fs_fpg, for the former does | Miod Vallat | |
proper casts to ensure the result is not truncated. From FreeBSD via NetBSD. ok thib@ | |||
2008-07-09 | Remove an XXX comment about using the same pool for mfs and ffs, since | Thordur I. Bjornsson | |
mfs is using the ffs code and its the same object it would make no sense having two seperate pools... ok art@ | |||
2008-06-14 | A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO) | Michael Knudsen | |
conversions that should shave a few bytes off the kernel. ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer FOO|BAR''; thanks for looking. |