nathanw
681f702ca1
In pmap_physpage_alloc() and pmap_physpage_free(): only the DIAGNOSTIC
...
check is inside the simple_lock()/simple_unlock() pair, so move the locks
inside the #ifdef as well.
Additionally, change the #ifdef from DIAGNOSTIC to DEBUG; the condition
is too weird to be worth checking at DIAGNOSTIC, according ot Jason.
2003-02-23 22:41:24 +00:00
jdolecek
f31ba31b00
change smbfs_args:
...
* g/c unused members 'mount_point', 'root_path', which only take space
* rename 'dev' to 'dev_fd' to more closely match what it is
* add 'export' member to avoid changing this again if ever smbfs would
be made exportable
bump SMBFS_VERMIN - ABI/API change; mount_smbfs needs to be recompiled
to work again
2003-02-23 22:31:17 +00:00
he
eca5e4743f
Bump ramdisk image size from 1444k to 1500k.
2003-02-23 22:30:46 +00:00
he
87ce3fd084
Remove the need to include grep in the miniroot; replace with
...
usage of awk instead.
2003-02-23 22:29:38 +00:00
jdolecek
999273657a
put the printf about version mismatch inside #ifdef SMB_VNODE_DEBUG
...
do not touch sm_args.mount_point[]
2003-02-23 22:20:05 +00:00
jdolecek
a2e6fb66e5
do not initialize/use member 'mount_point' of struct smbfs_args
...
allocate mount_point[] on stack
2003-02-23 22:14:09 +00:00
pk
025e435477
Protect the event queue with a simple mutex; this only partially addresses
...
MP-safety issues in the event handling system.
2003-02-23 22:05:35 +00:00
christos
8bf6b72335
style; no space after cast, and add cast to the assignment case too.
2003-02-23 22:03:11 +00:00
jdolecek
e211d06862
add genfsops necessary for genfs_*{get|put}pages() to actually work
...
use 'compat' getpages and gop_write - smbfs doesn't have bmap vnode op (yet)
2003-02-23 21:55:20 +00:00
jdolecek
ee219745fe
remove bogus (u_long) cast for uvm_vnp_setsize() arg in smbfs_setattr()
2003-02-23 21:54:05 +00:00
pk
f326711134
Use splsched() instead of splhigh() to protect the triggered event queues.
2003-02-23 21:44:26 +00:00
wiz
f7073a4b07
Bump date and copyright for last.
2003-02-23 21:43:31 +00:00
pk
8059957b3f
Noet that knote() must not be called from interrupt contexts running at an
...
interrupt priority level higher than splsched().
2003-02-23 21:40:44 +00:00
jdolecek
a7bf0f25db
g/c some dead code
...
make smbfs_name_{alloc|free} inline
turn some checks for smbfs code errors to KASSERT()s
KNF some
also initialize n_size in smbfs_node_alloc()
g/c write-only variable in smbfs_nget()
2003-02-23 21:33:06 +00:00
jdolecek
ccf56de797
KASSERT() smp->sm_root is nonnull in unmount
...
g/c unneeded variable in smbfs_root()
2003-02-23 21:27:33 +00:00
jdolecek
9a7b95383e
fix KASSERT() in smbfs_findnextLM1() to actually compile
2003-02-23 21:26:26 +00:00
pk
8f9c32194c
Use splvm() instead of splhigh() when accessing the internal page header pool.
2003-02-23 21:25:19 +00:00
jhawk
c3ac22a6a8
markup: the ";" for -exec, -ok, and -execdir is a seperate word from
...
the last argument
2003-02-23 20:01:31 +00:00
jdolecek
5c7688a6f3
g/c compatibility defines PROC_LOCK()/PROC_UNLOCK()
2003-02-23 19:35:14 +00:00
jdolecek
24a773c6ef
g/c smbfs_pbuf_freecnt, it's not used (it was not even declared on NetBSD)
2003-02-23 19:30:13 +00:00
atatat
860ed88533
#include opt_uvm.h in machine/vmparam.h (for those ports offering the
...
topdown option) so that including it directly before including
uvm/uvm_param.h (or uvm/uvm_extern.h which includes uvm/uvm_param.h)
and attempting to use topdown won't result in a compiler error.
Problem noted in private email.
2003-02-23 19:13:43 +00:00
he
b699c38934
Cast the result of VM_DEFAULT_ADDRESS to caddr_t, to make this compile again.
2003-02-23 19:08:18 +00:00
jdolecek
21a1fae4a8
g/c smbfs_debuglevel, it's not used anywhere
...
pointed out by Krister Walfridsson
2003-02-23 18:47:10 +00:00
manu
b09955adaf
Merged mac68k and macppc keayboards, since they are the same. The file
...
could move to <arch/mac> if one day we create it.
Fixed french keymap: option was not mapped correctly, thus making
impossible to use |{}[] (tested).
Added jp keymap from PR/15438, and sf, sv, de and uk keymaps from OpenBSD.
(all untested).
2003-02-23 18:09:25 +00:00
jdolecek
eb5d35152e
remove non-NetBSD smbfs_vnodeop_entries[], smbfs_vnodeop_opv_desc
2003-02-23 17:28:48 +00:00
jdolecek
c3fb3ac103
g/c smbfs_getpages()/smbfs_putpages() we don't use on NetBSD
2003-02-23 17:28:01 +00:00
martin
53dbc17caf
Include <sys/lock.h> for the struct simplelock recently added here.
2003-02-23 16:38:01 +00:00
jhawk
e470466271
Clarify that macros should be #define<TAB>; it's important to specify this
...
in the actual document, just not in the cvs logs (cf. rev 1.15).
2003-02-23 14:58:50 +00:00
jhawk
93fccbf4ba
eleminate forward decl of 'struct stat'
2003-02-23 14:43:25 +00:00
jhawk
d44b698645
delint: trailing commas in enum definitions are prohibitted
...
knf: instantiate macros with #define<TAB>, not <SPACE>, and also align.
2003-02-23 14:41:30 +00:00
pk
2931081a79
Make updating a file's reference and use count MP-safe.
2003-02-23 14:37:32 +00:00
lukem
558032443d
rename local copies of login(), logout() and logwtmp() to
...
ftpd_login(), ftpd_logout() and ftpd_logwtmp() respectively.
(makes utmp support much easier in tnftpd).
per suggestion in mail from Mike Heffner <mheffner@vt.edu>, who
forwarded patch from Michael Ranner <mranner@inode.at>.
2003-02-23 13:04:37 +00:00
simonb
8d6004faf3
We can't use <string.h> for standalone programs;
...
use <lib/libkern/libkern.h> for str*() prototypes instead.
2003-02-23 12:31:29 +00:00
yamt
bcd7beec98
initialize b_interlock properly.
...
(for ioctl)
2003-02-23 08:50:58 +00:00
lukem
49230d68b3
crank version for:
...
Stop ftpd changing inetd's 'logname'
Stop buffer overrun if {NGROUPS_MAX} is greater than the compile time
NGROUPS_MAX.
2003-02-23 08:33:13 +00:00
simonb
668973e677
Use the PRId64 format to print a daddr_t.
2003-02-23 05:21:18 +00:00
simonb
0b2b1cc0cc
Remove assigned-to but not used variable.
2003-02-23 04:53:51 +00:00
perseant
0cfa2c5369
Discourage the creation of new LFSv1 filesystems.
2003-02-23 04:53:17 +00:00
simonb
2724e6c512
Add an __unused attribute to the variable in the __link_set_make_entry()
...
macro.
2003-02-23 04:50:18 +00:00
perseant
8685c52d63
Make the "-O" (start filesystem offset) flag to newfs_lfs work correctly,
...
and update fsck_lfs and dumplfs to deal with it. Note that while the argument
to -O is given in disk sectors, it must be a multiple of the fragment size,
and although it can be lower than the label or superblock, it can't intersect
either.
2003-02-23 04:32:05 +00:00
simonb
ac161ae918
Remove assigned-to but not used variable.
2003-02-23 04:20:06 +00:00
simonb
9bfb5c46f4
Remove unreachable break after return.
2003-02-23 04:19:26 +00:00
simonb
5eb4a89fef
Remove assigned-to but not used variable.
2003-02-23 04:15:02 +00:00
simonb
f0192b8a3f
Remove assigned-to but not used variable (including nice little switch
...
statement to set said variable).
2003-02-23 04:14:16 +00:00
simonb
e40197c4b3
Remove assigned-to but not used variable.
2003-02-23 04:10:11 +00:00
simonb
013ba73637
Fix a tyop in a comment.
2003-02-23 03:37:40 +00:00
simonb
2a4457bd46
Remove assigned-to but not used variable.
2003-02-23 03:32:55 +00:00
fvdl
11e36a204f
For x86_64, split the bootinfo memory entry words to avoid growth of the
...
structure due to alignment.
2003-02-23 02:45:44 +00:00
fvdl
0ee308ef7e
Fix up pmap_growkernel a bit to avoid off-by-one errors.
2003-02-23 02:44:44 +00:00
fvdl
49a9f4f666
Use BIOS memory info properly. Don't try to allocate areas > 4G out of
...
the IO extent, since it only spans 32 bits.
2003-02-23 02:43:25 +00:00