Commit Graph

108850 Commits

Author SHA1 Message Date
pk
d286e74769 pgt_page_alloc: use uvm_km_kmemalloc() so we can honor the PR_NOWAIT flag
pmap_kenter_pa4m: lock the pmap we're working on.
2003-02-18 22:05:08 +00:00
jdolecek
6c6a0817ba note SMBFS support 2003-02-18 21:05:47 +00:00
jdolecek
2e574d6a8b add "VT_SMBFS" to vnode_tags[]
constify vnode_tags[] and vnode_types[]
2003-02-18 20:37:38 +00:00
jdolecek
55faf5989f add mount_smbfs(8) 2003-02-18 20:35:28 +00:00
jdolecek
5bfb055309 add TNF copyright and $NetBSD$ RCS Id
add SEE ALSO, HISTORY
adjust BUGS to stress this is experimental and to use send-pr
adjust AUTHORS to include people who did NetBSD port (Matt Debergalis and me)
2003-02-18 20:31:19 +00:00
jdolecek
d2309c1fda add file-system SMBFS and pseudo-device nsmb, uncommented, marked as
experimental
2003-02-18 20:13:03 +00:00
jdolecek
bb1e147039 add nfs-style n_ctime, n_nctime
#ifdef smbfs_getpages(), smbfs_putpages() - it's not used on NetBSD
2003-02-18 20:09:01 +00:00
jdolecek
d3d721833b make smbfs_lookup() look more like nfs_lookup(), particularily account
for different cache_lookup() semantics
fix smbfs_pathcheck() to not assume zero-ended component name
remove the bogus code in smbfs_close(), it's not needed on NetBSD
fix couple other vnop routines to do vput()/vrele()/PNBUF_PUT() as appropriate
KNF
2003-02-18 20:07:50 +00:00
jdolecek
e737730e68 g/c VI_(UN)LOCK macros and just use simple_(un)lock(vp->v_interlock)
#if 0 smbfs_hashprint(), and mark it static
do NOT reinit vp->v_lock - getnewvnode() did it for us
smbfs_reclaim(): unconditionaly do LIST_REMOVE(), and de-obfuscate parent
  directory vrele() call
2003-02-18 20:00:35 +00:00
jdolecek
e75d9c776e vrele() the reference to root vnode before calling vflush() in smbfs_unmount(),
so that the filesystem wouldn't appear as busy when it's not, and vref()
it back if the vflush() fails

LK_DRAIN sm_hashlock before freeing the smbmount struct

g/c one meaningless check in smbfs_root()
2003-02-18 19:40:36 +00:00
wiz
9ceb9b4b15 Add newline character to logname change warning.
Noted missing by Sean Davis on tech-kern.
2003-02-18 19:26:23 +00:00
perry
b88a15cf9c Add some missing voids. 2003-02-18 19:21:33 +00:00
wiz
b3e61b0b56 s/intial/initial/, from jmc in .pl in PR 20414. 2003-02-18 18:47:06 +00:00
msaitoh
f81acfd9b4 The name of the working directory for each prog is converted by "s/-/_/".
The directory list to be removed (i.e. make clean) has to be set with
the converted name.
2003-02-18 18:12:07 +00:00
drochner
8e2212faf9 note dhcp-3.0.1rc11 2003-02-18 17:24:53 +00:00
drochner
b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
tsutsui
d9a7d0e611 Also remove (probably) incorrect comment. 2003-02-18 16:42:40 +00:00
drochner
49c6e76122 import of ISC dhcp-3.0.1rc11 2003-02-18 16:37:52 +00:00
tsutsui
4adb30abcd hz -> Hz (from OpenBSD) 2003-02-18 16:37:48 +00:00
tsutsui
636e5d57b4 Remove unusable debug code. 2003-02-18 16:36:58 +00:00
soren
98bd894cee Add command to change partition types directly.
From Alexander Guy via OpenBSD.
2003-02-18 16:20:37 +00:00
soren
985217460a Include pdisk on the ramdisk. It can be very useful during installation. 2003-02-18 15:38:53 +00:00
soren
3291a4522e Make libsa compile again. 2003-02-18 14:58:31 +00:00
dsl
34e0475375 Pivot the disk stats into extra lines if they run out of columns
(approved by christos)
2003-02-18 14:55:05 +00:00
jdolecek
f8595b9782 add missing dot in comment 2003-02-18 14:37:08 +00:00
augustss
8b132e9976 Add uax. 2003-02-18 14:20:11 +00:00
jdolecek
8fb0f74264 add Boris Popov acknowledgement - smbfs code 2003-02-18 14:05:56 +00:00
pk
2b390d41d0 Move makememarr() into promlib.c. 2003-02-18 13:36:51 +00:00
jdolecek
e0ef9a798d add 'noatime' to list of supported mount options
fixes PR bin/20411 by KOIE Hidetaka
2003-02-18 13:16:48 +00:00
jdolecek
309faeafd5 smbfs_smb_create(): use SMB_COM_CREATE_NEW rather than SMB_COM_CREATE; the
latter truncates the file if it exists, which we don't want to do
change the code a bit to be easier to read
2003-02-18 12:52:34 +00:00
jdolecek
68756e42ca don't need duplicate nsmb entry in 'Special devices' 2003-02-18 12:29:43 +00:00
jdolecek
3b055749f1 fix nsmb* to use correct assigned major, hook creation of nsmb devices
into 'all' target
2003-02-18 12:28:57 +00:00
jdolecek
51762449f8 add nsmb device-major 2003-02-18 12:26:50 +00:00
jdolecek
17de86b837 need to include netsmb/files.netsmb 2003-02-18 12:20:19 +00:00
jdolecek
6b01f028b8 move netsmb-specific entries to netsmb/files.netsmb
g/c options SMB and opt_smb.h
rename the pseudo device to nsmb, and use needs-flag instead needs-count,
 adjust nsmbattach() appropriately
replace SMB_CHECKMINOR() with explicit code in smb_dev.c, to improve readability
2003-02-18 12:18:28 +00:00
jdolecek
7fa45bf7b7 disable debug printf mistakely enabled in previous commit 2003-02-18 11:21:01 +00:00
jdolecek
0550f349b8 couple cosmetic changes:
* g/c superfluous printfs
* use vcp on one more place
* don't need to check result of allocation with M_WAITOK
* just exlicitly return (0) on the success path, rather than return (error)
2003-02-18 10:27:17 +00:00
jdolecek
399550a191 do age attrcache on NetBSD - use mono_time.tv_sec instead of FreeBSD time_second
don't need to erase *vpp on top smbfs_nget()
s/bzero/memset/ for struct smbnode allocation
2003-02-18 10:24:58 +00:00
jdolecek
c77076376f smb_rq_bend(): s/htoles/htole16/
smb_rq_reply(): don't bother saving error from md_get_* call when it's ignored
2003-02-18 10:20:50 +00:00
jdolecek
fde501ab94 use explicit width macros from <sys/endian.h>, do not define&use
letohs/letohl/letohq and such
2003-02-18 10:18:52 +00:00
jdolecek
fce485df80 constify smb_emptypass (it doesn't have any effect, cost for form) 2003-02-18 10:16:49 +00:00
lukem
31e59fe101 - add [-m machine] support, from David Laight dsl@
- parenthesise some messages
- add some bugs and todo items
2003-02-18 10:12:52 +00:00
jdolecek
12ce0f9377 replace some magic error number with descriptive defines; meaning of the numbers
found in Samba/Linux smbfs
2003-02-18 10:09:28 +00:00
jdolecek
488fc89a73 use Xo/Xc to work-around our current tmac macro limitation of nine
arguments
2003-02-18 09:55:09 +00:00
jdolecek
0f48fcb071 g/c code not used by NetBSD
constify mopts[]
2003-02-18 09:53:55 +00:00
jdolecek
74563995a5 make compile on NetBSD - <sys/endian.h> instead of <sys/mchain.h>, use
explicit width macros, disable some not-yet supported functionality
(conversion map upload, smb_dumptree())
2003-02-18 09:52:03 +00:00
jdolecek
648f05609d no need for iconv.h include here
no \n on end of warn() format
include <sys/param.h> for some contants
iconv_loaded--, not iconv_loaded++ when the dlopen() fails
2003-02-18 09:47:48 +00:00
jdolecek
add8c3ba9a constify some structs 2003-02-18 09:45:58 +00:00
uwe
483b412ce5 Always include bsd.subdir.mk, move it out of .if defined(ARCHSUBDIR).
Let the build proceed for arches that don't support libpthread yet.
2003-02-18 09:35:31 +00:00
dsl
b80a5f24c5 KNF kern_prot.c 2003-02-18 08:37:41 +00:00