Commit Graph

243257 Commits

Author SHA1 Message Date
pgoyette
1f58493c30 For built-in modules, the iic driver requires i2c_bitbang 2016-06-20 04:18:12 +00:00
dholland
8fd50ded1a In lfs_mknod, don't release dvp until done with it. This was exposed a
while back when I removed a sketchy preprocessor macro scheme, but I'd
left it the way it was at the time and marked it for later. Now I
guess it's later.

Also don't randomly use both dvp and ap->a_dvp; they're the same, so
pick one and stick to it.
2016-06-20 03:55:34 +00:00
dholland
19fcb33956 One more batch of already-synced ufs changes:
ufs_extern.h 1.79 is equivalent to ulfs_extern.h 1.14
ufsmount.h 1.43 is (roughly) equivalent to lfs_extern.h 1.102
ufs_inode.c 1.94 does not apply to lfs
ufs_inode.c 1.95 does not apply to lfs either
ufs_readwrite.c 1.108 is equivalent to ulfs_readwrite.c 1.8
ufs_readwrite.c 1.109 is equivalent to ulfs_readwrite.c 1.9
ufs_readwrite.c 1.110 is equivalent to ulfs_readwrite.c 1.10
ufs_readwrite.c 1.111 does not apply to lfs
ufs_readwrite.c 1.112 is equivalent to ulfs_readwrite.c 1.11
ufs_readwrite.c 1.113 is equivalent to ulfs_readwrite.c 1.13
ufs_readwrite.c 1.114 is equivalent to ulfs_readwrite.c 1.14
ufs_readwrite.c 1.115 is equivalent to ulfs_readwrite.c 1.15
ufs_readwrite.c 1.116-1.118 does not apply to lfs
ufs_readwrite.c 1.119-1.120 are equivalent to ulfs_readwrite.c 1.16
ufs_rename.c 1.12 is equivalent to lfs_rename.c 1.8
ufs_vnops.c 1.226 is equivalent to ulfs_vnops.c 1.22 and lfs_vnops.c 1.270
ufs_vnops.c 1.227 is equivalent to ulfs_vnops.c 1.23
ufs_vnops.c 1.228-1.229 are equivalent to ulfs_vnops.c 1.24
ufs_vnops.c 1.230 is equivalent to ulfs_vnops.c 1.25 and lfs_vnops.c 1.271
ufs_vnops.c 1.231 originated in lfs
ufs_vnops.c 1.232 does not apply to lfs
2016-06-20 03:36:09 +00:00
dholland
8859f77e66 u_int{8,16,32,64}_t -> uint{8,16,32,64}_t in remaining lfs headers. 2016-06-20 03:29:52 +00:00
dholland
83ad3c9ada Massedit u_int{8,16,32,64}_t to uint{8,16,32,64}_t. This effectively
merges ufs/dinode.h 1.25.
2016-06-20 03:25:46 +00:00
dholland
6c6abefb83 Merge ufs_inode.c 1.93: missing unlock on error path. 2016-06-20 03:11:21 +00:00
dholland
d3a125a547 With the previous we seem to have the changes from -r1.225 of ufs_vnops.c.
(as that was stuff from moving ffs to the new vcache and lfs has also been
moved, this is not surprising)
2016-06-20 02:42:08 +00:00
dholland
086154049b ulfs_makeinode -> lfs_makeinode 2016-06-20 02:33:01 +00:00
dholland
b08ea0376c Merge (effectively) -r1.78 of ufs_extern.h: shift ulfs_makeinode to
lfs_vnops.c and make it file-static there, as that's the only place
it's used.
2016-06-20 02:31:47 +00:00
dholland
0261ff7039 Note more already-merged versions:
inode.h 1.68 is subsumed by ulfs_inode.h 1.19
inode.h 1.69-1.72 do not apply to lfs
ufs_extern.h 1.74 was covered when lfs was moved to the new vnode cache
ufs_extern.h 1.75 is equivalent to ulfs_extern.h 1.13
ufs_extern.h 1.76-1.77 do not apply to lfs
ufsmount.h 1.42 does not apply to lfs
ufs_inode.c 1.90 is subsumed by ulfs_inode.c 1.10
ufs_inode.c 1.91-1.92 do not apply to lfs
ufs_lookup.c 1.130 is subsumed by ulfs_lookup.c 1.24
ufs_lookup.c 1.131 is equivalent to ulfs_lookup.c 1.20
ufs_lookup.c 1.132 is equivalent to ulfs_lookup.c 1.21
ufs_lookup.c 1.133 is equivalent to ulfs_lookup.c 1.22
ufs_lookup.c 1.134 is equivalent to ulfs_lookup.c 1.23
ufs_lookup.c 1.135 is equivalent to ulfs_lookup.c 1.25
ufs_quota2.c 1.38 is equivalent to ulfs_quota2.c 1.17
ufs_quota2.c 1.39 is equivalent to ulfs_quota2.c 1.16
ufs_quota2.c 1.40 is equivalent to ulfs_quota2.c 1.18
ufs_vfsops.c 1.53 is subsumed by lfs_vfsops.c 1.324
ufs_vfsops.c 1.54 is subsumed by lfs_vfsops.c 1.324
ufs_vnops.c 1.223-1.224 do not apply to lfs
2016-06-20 02:25:03 +00:00
dholland
63ee8614ac fix typo in previous 2016-06-20 02:05:25 +00:00
dholland
3135a5d8c6 Merge some cosmetic changes from ffs_quota2.c 1.5. I didn't merge the
whitespace changes.
2016-06-20 02:03:32 +00:00
dholland
18ffab73e0 Merge -r1.11 of extattr.h:
Bump UFS1 extended attribute max name length to 256
2016-06-20 01:56:21 +00:00
dholland
1815c2e12d Merge -r1.37 of ufs_dirhash.c:
clear i_dirhash sooner, but what lock protects it?
2016-06-20 01:53:38 +00:00
dholland
15348ccc13 Merge -r1.46 of ufs_extattr.c: Fix uninitialized mutex usage 2016-06-20 01:50:13 +00:00
dholland
762a526551 Merge -r1.45 of ufs_extattr.c:
Fix UFS1 extended attribute backend autocreation deadlock
2016-06-20 01:47:58 +00:00
dholland
87c7b3f519 Merge -r1.44 of ufs_extattr.c and related change -r1.302 of ffs_vfops.c:
fix use-after-free on failed unmount with extended attributes enabled.
2016-06-20 01:44:05 +00:00
dholland
8ddcdf74f7 Remove stray 'n' in file. silly control key... 2016-06-20 01:23:04 +00:00
dholland
943062207c Merge ufs_rename.c 1.11: ufs_gro_genealogy: use vcache_get() to lookup DOTDOT. 2016-06-20 01:20:01 +00:00
dholland
fb9df5337f ufs/inode.h -r1.67 is effectively merged into here too. 2016-06-20 01:06:23 +00:00
dholland
1a07c755b6 Merge -r1.67 of ufs/inode.h: make the inode field of a filehandle
64-bit instead of truncating to 32 bits. Note that if you're serving
nfs off lfs (but I don't think you are as I think there are known
fatal problems doing so) you'll need to reboot your clients after this
change.

I've used a 64-bit value explicitly instead of ino_t (as in the ufs
structure) because this is a structure whose size ought to be well
defined. I remember some discussion of this when the ufs change was
committed, but not the conclusion (if any) -- if anyone hates this it
can be changed to ino_t easily enough.
2016-06-20 01:05:36 +00:00
dholland
21bf12f8db Merge -r1.20 and -r1.21 of ufs_quota1.c: widen before multiplying. 2016-06-20 00:53:10 +00:00
dholland
39ec0f6e1e Widen before multiplying. Like -r1.21, but in the other similar case. 2016-06-20 00:52:04 +00:00
dholland
59bb7ee236 Merge ufs/inode.h 1.66: remove i_hash from struct inode. This is the
hash table entry link from the old per-fs vnode cache and we don't
need it any more.
2016-06-20 00:18:40 +00:00
dholland
7cffb05b53 Merge ufs_quota2.c 1.37: set grace time if lowering the limit causes
the user/group to now be over quota. From Edgar Fuß.
2016-06-20 00:09:42 +00:00
jakllsch
642075e27e Add us.dvorak keymap variant for ADB keyboards. Addresses PR 51255.
Tested by sevan@.
2016-06-20 00:05:58 +00:00
dholland
5da25affa9 More already-merged or equivalent changes:
ufs_dirhash.c 1.36 corresponds to ulfs_dirhash.c 1.8
ufs_extattr.c 1.43 corresponds to ulfs_extattr.c 1.7
ufs_lookup.c 1.126 does not apply to lfs
ufs_lookup.c 1.127 we already have
ufs_lookup.c 1.128 does not apply to lfs
ufs_lookup.c 1.129 corresponds to ulfs_lookup.c 1.19
ufs_quota1.c 1.19 corresponds to ulfs_quota1.c 1.7
ufs_quota1.c 1.20 corresponds to ulfs_quota1.c 1.8
ufs_quota2.c 1.36 we have equivalent changes for
ufs_rename.c 1.9 corresponds to lfs_rename.c 1.5
ufs_rename.c 1.10 corresponds to lfs_rename.c 1.6
ufs_vnops.c 1.219 corresponds to lfs_vnops.c 1.260 and ulfs_vnops.c 1.19
ufs_vnops.c 1.220 corresponds to lfs_vnops.c 1.261 and ulfs_vnops.c 1.20
ufs_vnops.c 1.221 was superseded by later changes
ufs_vnops.c 1.222 got fixed independently in lfs
2016-06-20 00:00:47 +00:00
dholland
169fe393aa we already have ufs_lookup.c 1.125 and ufs_vnops.c 1.218. 2016-06-19 23:11:48 +00:00
dholland
bdbc8b354e Mark ufs file versions we're already synced with. 2016-06-19 23:06:09 +00:00
dholland
6f5d75b388 we already have changes here comparable to ufs_bswap.h -r1.20 and -r1.21. 2016-06-19 22:46:19 +00:00
christos
bd61e9ff20 Relax the dup alloc tests to not include the on-disk data for ffsv2, since
nothing checks that the lazy-initialized inodes are correct and if they happen
to get corrupted, there is no way to fix them.
2016-06-19 22:41:31 +00:00
dholland
1273ee8de8 we are actually synced with ufs/dinode.h 1.24 and ufs/dir.h 1.25. 2016-06-19 22:38:23 +00:00
pgoyette
36508754a4 Fix typo. 2016-06-19 22:27:56 +00:00
dholland
82dd833925 missed one
(probably this should be tracked in some way other than pasting rcsid
comments, but it's what we've got)
2016-06-19 22:14:38 +00:00
dholland
eb8a2a8425 note that we're synced with ufs_vnops.c -r1.217 and ufsmount.h -r1.41
(those changes removed lfs hooks from ufs so shouldn't be merged across)
2016-06-19 22:11:55 +00:00
dholland
9f92c8d0b9 Merge -r1.216 of ufs_vnops.c: comments about maxsymlinklen handling 2016-06-19 22:07:17 +00:00
dholland
430e6a2d30 Merge -r1.215 of ufs_vnops.c: the speed limit is 80
(-r1.214 was ffs-only)
2016-06-19 22:03:06 +00:00
dholland
a56489d318 Update the ufs versions these files are synced with by 1: the
201306016 commit by hannken@ that removed references to ffs_snapgone
in ufs doesn't need to be synced into lfs.
2016-06-19 21:58:42 +00:00
dholland
81c618ccf8 more NBIO > 0
(not sure why test-compiling yesterday didn't expose these, probably
improper cflags)
2016-06-19 21:12:44 +00:00
rkujawa
9c1cb7dc48 Link to the list of MIPS Computer Systems, Inc. machines. 2016-06-19 10:49:34 +00:00
isaki
fed1bd4c95 Display debug messages before loading the kernel.
It makes easy to read.
2016-06-19 09:42:28 +00:00
bouyer
01a30830e3 Add a new config_detach() flag, DETACH_POWEROFF, which is set when
detaching devices at shutdown time with RB_POWERDOWN.
When detaching wd(4), put the drive in standby before detach
for DETACH_POWEROFF.
Fix PR kern/51252
2016-06-19 09:35:06 +00:00
isaki
1c46f88df5 Split variable.
'dev' is the device number in devspec[] and
'bootdev' is the boot device parameter made from 'dev'.
2016-06-19 09:23:16 +00:00
isaki
5c224896bc Copy with -f.
On x68k, CDEXTRA has /usr/mdec/boot and its permission is 444.
So this copy was failed from second time.
2016-06-19 08:44:34 +00:00
skrll
a1ddc80525 More debug 2016-06-19 07:38:08 +00:00
dholland
cf5d7fb361 Broaden the #if NBIO > 0 block. Should fix broken evbppc build. 2016-06-19 06:58:17 +00:00
skrll
58bb138796 More debug and fix a debug 2016-06-19 06:47:04 +00:00
christos
fcbbb16aaa avoid duplicate symbols. 2016-06-18 21:45:05 +00:00
christos
4a082de2f6 fix dup definitions in module. 2016-06-18 21:41:08 +00:00
skrll
38dbdecd3f Fix non-debug build. 2016-06-18 20:27:55 +00:00