summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs
Commit message (Collapse)AuthorAgeFilesLines
* o Lock page queue accesses in nwfs and smbfs.alc2002-08-021-0/+8
| | | | o Assert that the page queues lock is held in vm_page_deactivate().
* More s/file system/filesystem/gtrhodes2002-05-163-9/+9
|
* UIO_NOCOPY is not supported for now, so refuse read opeartion if this flagbp2002-04-261-0/+6
| | | | is set. The full emulation of bio are on its way...
* Track nfs's getpages() changes:bp2002-04-231-12/+46
| | | | | | Properly count v_vnodepgsin. Do not reread page if is already valid. Properly handle partially filled pages.
* Get rid from extra #ifdefs.bp2002-04-232-79/+4
|
* Check write permissions before creating anything.bp2002-04-131-0/+3
| | | | | PR: kern/27883 MFC after: 1 week
* Remove 3 instances of vm_zone.h inclusion.phk2002-04-082-2/+0
|
* Add a flags parameter to VFS_VGET to pass through the desiredmckusick2002-03-171-2/+4
| | | | | | | | | | | | locking flags when acquiring a vnode. The immediate purpose is to allow polling lock requests (LK_NOWAIT) needed by soft updates to avoid deadlock when enlisting other processes to help with the background cleanup. For the future it will allow the use of shared locks for read access to vnodes. This change touches a lot of files as it affects most filesystems within the system. It has been well tested on FFS, loopback, and CD-ROM filesystems. only lightly on the others, so if you find a problem there, please let me (mckusick@mckusick.com) know.
* Simple p_ucred -> td_ucred changes to start using the per-thread ucredjhb2002-02-274-10/+9
| | | | reference.
* Fix a BUF_TIMELOCK race against BUF_LOCK and fix a deadlock in vget()dillon2001-12-201-1/+1
| | | | | | | | against VM_WAIT in the pageout code. Both fixes involve adjusting the lockmgr's timeout capability so locks obtained with timeouts do not interfere with locks obtained without a timeout. Hopefully MFC: before the 4.5 release
* Previous commit was intented to silence a warning, not to change codepath.bp2001-12-201-2/+3
|
* Silence harmless "smbfs_closel: Negative opencount" messages atsheldonh2001-12-201-1/+1
| | | | | | | | unmount time. Thanks to iedowse for the background information. Submitted by: bp
* Add module dependency on libmchain.sheldonh2001-12-131-0/+2
| | | | | | With this change, mounting an smb share (using mount_smb, which is not yet included in the tree) without any of smbfs, libiconv or libmchain compiled into the kernel or loaded works.
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-102-3/+3
| | | | also don't use ANSI string concatenation.
* Catch up with KSE changes.bp2001-12-025-155/+158
| | | | Submitted by: Max Khon <fjoe@iclub.nsu.ru>
* Change the vnode list under the mount point from a LIST to a TAILQdillon2001-10-231-2/+2
| | | | | | in preparation for an implementation of limiting code for kern.maxvnodes. MFC after: 3 days
* smbfs_advlock: simplify overflow checks (copy from kern_lockf.c)ache2001-08-291-7/+10
| | | | minor formatting issues to minimize differences
* Cosmetique & style fixes from bdeache2001-08-261-5/+2
|
* Copy from kern_lockf.c: remove extra checkache2001-08-241-2/+0
|
* Copy yet one check for SEEK_END overflowache2001-08-231-1/+2
|
* Copy my newly introduced l_len<0 'oops' fix from kern_lockf.cache2001-08-231-2/+4
|
* Copy POSIX l_len<0 handling from kern_lockf.cache2001-08-231-3/+6
|
* Cosmetique: correct English in commentsache2001-08-231-2/+3
| | | | non-cosmetique: add missing break; - original code was broken here
* Move <machine/*> after <sys/*>ache2001-08-231-1/+2
| | | | Pointed by: bde
* adv. lock:ache2001-08-231-2/+14
| | | | | copy EOVERFLOW handling code from main variant fix type of 'size' arg
* Use proper endian conversion.bp2001-08-211-1/+1
| | | | | Obtained from: Mac OS X MFC after: 1 week
* Return proper length of _PC_NAME_MAX value if long names support is enabled.bp2001-08-211-1/+1
| | | | | Obtained from: Mac OS X MFC after: 1 week
* Grab the process lock around psignal().jhb2001-07-181-0/+2
| | | | Noticed by: tanimura
* - Update the vmmeter statistics for vnode pageins and pageouts injhb2001-07-041-2/+7
| | | | | | getpages/putpages. - Use vm_page_undirty() instead of messing with pages' dirty fields directly.
* With this commit, I hereby pronounce gensetdefs past its use-by date.peter2001-06-132-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the a.out emulation of 'struct linker_set' with something a little more flexible. <sys/linker_set.h> now provides macros for accessing elements and completely hides the implementation. The linker_set.h macros have been on the back burner in various forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()), John Polstra (ELF clue) and myself (cleaned up API and the conversion of the rest of the kernel to use it). The macros declare a strongly typed set. They return elements with the type that you declare the set with, rather than a generic void *. For ELF, we use the magic ld symbols (__start_<setname> and __stop_<setname>). Thanks to Richard Henderson <rth@redhat.com> for the trick about how to force ld to provide them for kld's. For a.out, we use the old linker_set struct. NOTE: the item lists are no longer null terminated. This is why the code impact is high in certain areas. The runtime linker has a new method to find the linker set boundaries depending on which backend format is in use. linker sets are still module/kld unfriendly and should never be used for anything that may be modular one day. Reviewed by: eivind
* Change the second argument of vflush() to an integer that specifiesiedowse2001-05-161-15/+2
| | | | | | | | | | | | | | | | | | | | the number of references on the filesystem root vnode to be both expected and released. Many filesystems hold an extra reference on the filesystem root vnode, which must be accounted for when determining if the filesystem is busy and then released if it isn't busy. The old `skipvp' approach required individual filesystem xxx_unmount functions to re-implement much of vflush()'s logic to deal with the root vnode. All 9 filesystems that hold an extra reference on the root vnode got the logic wrong in the case of forced unmounts, so `umount -f' would always fail if there were any extra root vnode references. Fix this issue centrally in vflush(), now that we can. This commit also fixes a vnode reference leak in devfs, which could result in idle devfs filesystems that refuse to unmount. Reviewed by: phk, bp
* Convert vnode_pager_freepage() to vm_free_page().bp2001-05-031-2/+2
| | | | Forgotten by: alfred
* Implement vop_std{get|put}pages() and add them to the default vop[].phk2001-05-011-4/+2
| | | | | Un-copy&paste all the VOP_{GET|PUT}PAGES() functions which do nothing but the default.
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inmarkm2001-05-011-9/+11
| | | | | | | | | | | other "system" header files. Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files. Sort sys/*.h includes where possible in affected files. OK'ed by: bde (with reservations)
* Add a vop_stdbmap(), and make it part of the default vop vector.phk2001-04-291-26/+0
| | | | | | Make 7 filesystems which don't really know about VOP_BMAP rely on the default vector, rather than more or less complete local vop_nopbmap() implementations.
* Move VT_SMBFS definition to the proper place. Undefine VI_LOCK/VI_UNLOCK.bp2001-04-131-7/+0
|
* Import kernel part of SMB/CIFS requester.bp2001-04-109-0/+4938
Add smbfs(CIFS) filesystem. Userland part will be in the ports tree for a while. Obtained from: smbfs-1.3.7-dev package.
OpenPOWER on IntegriCloud