Commit Graph

20 Commits

Author SHA1 Message Date
enami
fee96e1746 Check if the type of device node isn't VBAD before touching v_specinfo. If
the device vnode is revoked, the field is NULL and touching it causes null
pointer derefercence.
1999-10-20 14:32:09 +00:00
wrstuden
e682a080e9 In spec_close(), if we're not doing a non-blocking close and VXLOCK is
not set, unlock the vnode before calling the device's close routine and
relock it after it returns. tty close routines will sleep waiting for
buffers to drain, which won't happen often times as the other side needs
to grab the vnode lock first.

Make all unmount routines lock the device vnode before calling VOP_CLOSE().
1999-10-16 23:53:26 +00:00
jdolecek
7dfaa17700 Adapt to cache_lookup() changes.
Tested by: jdolecek
Rewieved by: wrstuden
1999-09-05 14:26:32 +00:00
mark
7ec8276d95 Fix compiler warning. 1999-08-18 22:01:53 +00:00
wrstuden
169a5eda2d Pull in changes which parallel rev 1.22 -> 1.25 of ufs_lookup(). 1999-08-04 18:40:47 +00:00
wrstuden
3bf14d81e9 Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl
call with F_FSCTL set and F_SETFL calls generate calls to a new
fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0
for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems
use genfs_fcntl().

Reviewed by: thorpej
Tested by: wrstuden
1999-08-03 20:19:16 +00:00
wrstuden
379a26972f Modify file systems to deal with struct lock in struct vnode. All leaf
fs's other than nfs use genfs_lock() for locking.

Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.
1999-07-08 01:05:58 +00:00
tron
5f36f07cc0 Looks like "filecorefs" is also affected by the problem described in
PR kern/7329.
1999-04-07 21:55:58 +00:00
kleink
9ee75a4fcc Add _PC_FILESIZEBITS to pathconf vnop. 1999-03-22 19:21:07 +00:00
wrstuden
862a56e88b Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.
1999-02-26 23:44:43 +00:00
bouyer
22d556f6cf Make sure a buffer optained from bread() is always bresle()'d in case of
error. Closes PR kern/1448 from Wolfgang Solfrank.
1999-02-10 13:14:08 +00:00
drochner
9973d1abaa COMPAT_xxx option review: add missing opt_compat_netbsd.h 1998-12-18 14:24:43 +00:00
mark
7cc47ae9b9 Pay attention to the share_size field in the filecore boot block in
filecore_map(). From Andrew McMurry.
Closes PR 6343
1998-10-29 23:18:57 +00:00
mark
99973d1aa3 Bug fix from Andrew McMurry for filecore_readdir() missing the end
of the directory and reporting some non-existant files.
1998-09-18 04:17:44 +00:00
kleink
02fd2396c6 Handle _PC_SYNC_IO. 1998-09-07 15:58:37 +00:00
mycroft
68a70a83ba Check permissions on device to be mounted. 1998-09-05 04:34:47 +00:00
mark
c3dbe8a928 Fix typo in filecore_node_pool declaration. 1998-09-02 18:02:54 +00:00
thorpej
0ff273aad2 Use the pool allocator and the "nointr" pool page allocator for
filecore nodes.
1998-09-01 04:09:30 +00:00
mark
a124d362a5 Minor code cleanups, KNF a couple of bits that got missed and remove
register keywords.
1998-08-14 18:04:04 +00:00
mark
faf4eed3e3 Initial commit of Andrew McMurry's Acorn Filecore filesystem.
This is a read only implementation of the filecore filesystem found
on Acorn RiscPC machines (arm32).
1998-08-14 03:26:12 +00:00