Joel Dahl
d122d78412
Switch to our preferred 2-clause BSD license.
...
Approved by: bp
2010-04-07 16:50:38 +00:00
Edward Tomasz Napierala
f92a68eec3
Remove unused smbfs_smb_qpathinfo().
2010-01-08 15:53:07 +00:00
John Baldwin
4d70511ac3
Use pause() rather than tsleep() on stack variables and function pointers.
2007-02-27 17:23:29 +00:00
Boris Popov
fb8e9ead37
Create a bidirectional mapping of the DOS 'read only' attribute
...
to the 'w' flag.
PR: kern/77958
Submitted by: ghozzy gmail com
MFC after: 1 month
2006-11-05 06:38:42 +00:00
Boris Popov
cc518d3b67
Fix interaction with Windows 2000/XP based servers:
...
If the complete reply on the TRANS2_FIND_FIRST2 request fits exactly
into one responce packet, then next call to TRANS2_FIND_NEXT2 will return
zero entries and server will close current transaction. To avoid
subsequent errors we should not perform FIND_CLOSE2 request.
PR: kern/78953
Submitted by: Jim Carroll
2005-11-22 07:13:00 +00:00
Takanori Watanabe
4ebd3ea1f6
Make smbfs capable to use 16bit char set in filenames.
...
PR:78110
2005-05-04 15:05:46 +00:00
Warner Losh
d167cf6f3a
/* -> /*- for copyright notices, minor format tweaks as necessary
2005-01-06 18:10:42 +00:00
Poul-Henning Kamp
d14c8441e9
Convert to nmount. Add omount compat.
...
Unpropagate the sm_args function into the runtime part.
2004-12-06 20:31:08 +00:00
Tim J. Robbins
08fe4bfbda
Fix an inverted test for NOPEN in the unused function smb_smb_flush().
2004-01-12 14:43:49 +00:00
Tim J. Robbins
2a4ad25895
Send the close request to the SMB server in smbfs_inactive(), instead of
...
smbfs_close(). This fixes paging to and from mmap()'d regions of smbfs
files after the descriptor has been closed, and makes thttpd, GNU ld,
and perhaps more things work that depend on being able to do this.
PR: 48291
2003-06-17 12:58:02 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Tim J. Robbins
11de0c59e9
Store a reference to the parent directory's vnode in struct smbnode,
...
not to the parent's smbnode, which may be freed during the lifetime
of the child if the mount is forcibly unmounted. umount -f should now
work properly (ie. not panic) on smbfs mounts.
2002-12-13 10:15:01 +00:00
John Baldwin
95c2dc84e5
Cast a pointer to a uintptr_t to quiet a warning.
2002-11-07 22:35:45 +00:00
Boris Popov
3c2f5c3cc8
Implement additional SMB calls to allow proper update of file size as some
...
file servers fail to do it in the right way.
New NFLUSHWIRE flag marks pending flush request(s).
NB: not all cases covered by this commit.
Obtained from: Darwin
2002-09-18 09:27:04 +00:00
Tom Rhodes
d394511de3
More s/file system/filesystem/g
2002-05-16 21:28:32 +00:00
David E. O'Brien
6e551fb628
Update to C99, s/__FUNCTION__/__func__/,
...
also don't use ANSI string concatenation.
2001-12-10 08:09:49 +00:00
Boris Popov
798bb23e93
Use proper endian conversion.
...
Obtained from: Mac OS X
MFC after: 1 week
2001-08-21 08:27:47 +00:00
Boris Popov
681a5bbef2
Import kernel part of SMB/CIFS requester.
...
Add smbfs(CIFS) filesystem.
Userland part will be in the ports tree for a while.
Obtained from: smbfs-1.3.7-dev package.
2001-04-10 07:59:06 +00:00