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
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
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
baec08a11d
constify a little
2003-02-17 09:55:49 +00:00
jdolecek
f01bbafeaa
terminate FB_CURRENT specific struct smbnode member
2003-02-16 19:42:21 +00:00
jdolecek
245fa74e31
g/c SMBFS_USEZONE and some other redundant code
...
terminate the check if options SMB was included
remove the #ifndef FB_CURRENT around f_mntonname; FB_CURRENT used to be defined
in netsmb headers, and this caused f_mntonname to not be initialized
terminate the messy code setting f_mntfromname, and use snprintf() instead
2003-02-16 19:35:16 +00:00
erh
16a0b9753c
Wrap the smbfs_pbuf_freecnt var in #ifndef NetBSD since it's entirely unused.
2003-02-01 21:02:03 +00:00
thorpej
b193480908
Add extensible malloc types, adapted from FreeBSD. This turns
...
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
2003-02-01 06:23:35 +00:00
lonewolf
14757120f4
Fix compiler warnings after 64bit daddr_t change.
2003-01-27 04:08:45 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
simonb
c821903287
Remove variable that is only assigned too but not referenced.
2003-01-20 02:25:49 +00:00
lonewolf
b223c57195
Don't scale file block numbers. Fixes mmap() and UBCified read() problems.
...
Reviewed by Ignatios.
2003-01-09 18:34:41 +00:00
wiz
5a91827c81
through, not throught.
2003-01-06 12:29:48 +00:00
wiz
6621e1674f
Typo and grammar fixes in comments and a printf string.
2003-01-06 12:27:42 +00:00
jdolecek
98d58548c7
move msdosfs code from sys/msdosfs to sys/fs/msdosfs
2002-12-26 12:31:23 +00:00
jdolecek
3a8872dee7
move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
2002-12-23 17:52:02 +00:00
jdolecek
9accf4df15
move NTFS code from sys/ntfs to sys/fs/ntfs
2002-12-23 17:38:19 +00:00
jdolecek
5356de155a
move filecorefs code from sys/filecorefs to sys/fs/filecorefs
2002-12-23 17:30:36 +00:00
jdolecek
8974c3cf90
move adosfs files from sys/adosfs to sys/fs/adosfs
2002-12-23 17:15:20 +00:00
lukem
0635de35a3
Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
2002-11-26 23:30:07 +00:00
christos
6f3945a88d
MNT_GETARGS support
2002-09-21 18:10:34 +00:00
soren
178d83d503
Die, qaddr_t, die! - mnt_data in struct mount is already effectively
...
a void *, so stop pretending otherwise.
2002-07-30 07:40:07 +00:00
thorpej
37dc008ca3
Cleanup how file system configuration information is declared, grouping
...
related information together, with the file system code itself.
This is just low-hanging fruit -- more to come.
2002-04-16 23:14:05 +00:00
deberg
4687da33a2
descend into smbfs
2002-01-09 21:07:54 +00:00
deberg
408ba63df0
smbfs makefile, INCLUDES commented out for now
2002-01-09 21:06:53 +00:00
deberg
4738ff87d6
netbsd changes
2002-01-09 17:43:28 +00:00
deberg
f5cc2966a0
import freebsd smbfs code
2002-01-09 17:25:32 +00:00