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