enami
7daeeec54d
Set the size of vnode so that reading cdrom over nfs works.
2000-12-21 03:42:43 +00:00
chs
aeda8d3b77
Initial integration of the Unified Buffer Cache project.
2000-11-27 08:39:39 +00:00
thorpej
e6f6181e82
NBPG -> PAGE_SIZE
2000-11-14 22:26:32 +00:00
ad
642267bcc7
Update for hashinit() change.
2000-11-08 14:28:12 +00:00
thorpej
b94e29816f
MALLOC()/FREE() are not to be used for variable sized allocations.
2000-08-03 03:39:52 +00:00
jdolecek
24c327fe78
Add an option to do case-insensitive lookups even on Rock-Ridge CD-ROMS.
...
Add 'rrcaseins' option to mount_cd9660(8).
This addresses kern/2419 by Jason Downs.
2000-07-15 21:40:42 +00:00
jdolecek
e7d7ef2275
one less - though we don't have 'notrans', we have 'nomaplcase' now
2000-07-15 21:37:50 +00:00
jdolecek
943f329ed7
add a new mount flag ISOFSMNT_NOCASETRANS - if set, the file names are not
...
translated to lower case
2000-05-27 16:03:55 +00:00
scw
f27dcc92e2
Apply a late patch submitted by the author of PR kern/7951 (Joachim
...
Kuebart) which modifies the behaviour of cd9660 filesystem support to
favour using RockRidge extensions in place of Joliet if both formats
are present on a CD-ROM.
2000-05-10 20:35:35 +00:00
augustss
1469ed1614
Kill more register declarations.
2000-03-30 12:13:30 +00:00
simonb
289a50f572
Delete redundant decl of isodirino(), it's in cd9660_extern.h.
2000-03-30 02:11:09 +00:00
simonb
bd11640b2c
Remove redundant decl of rootvp - it's in <sys/systm.h>.
2000-03-29 04:03:08 +00:00
simonb
9ff7681a33
Don't need to include <sys/conf.h> here.
2000-03-29 03:43:31 +00:00
jdolecek
89015c4648
Add new VFS op routine - vfs_done and call it on filesystem detach
...
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.
For each leaf filesystem, add appropriate vfs_done routine.
2000-03-16 18:08:17 +00:00
scw
ebb1e2f6d4
Add calls to vn_lock() and VOP_UNLOCK() around the VOP_CLOSE() call
...
in iso_mountfs() to avoid a "panic: lockmgr: locking against myself"
when vrele() is called due to the mount having failed.
This fixes PR/9058.
2000-01-11 09:04:50 +00:00
fvdl
0b1963121a
Add Kirk McKusick's soft updates code to the trunk. Not enabled by
...
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.
Bump version number to 1.4O
1999-11-15 18:49:07 +00:00
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
16cafff36c
Adapt to cache_lookup() changes (forgot to commit it yesterday)
1999-09-06 10:10:05 +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
976aedb7ac
Adjust mountroot routines to vrele rootvp in case of mount error. Closes
...
PR 7977 by Neil Carson, <neil@brini.com>.
1999-07-17 01:08:28 +00:00
scw
801242dfdc
From patch supplied in PR-7951 by Joachim Kuebart:
...
Add support for Microsoft Joliet long filename extensions to the
cd9660 filesystem.
1999-07-13 11:12:05 +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
c60bb946c2
Avoid lockups on cd9660 filesystems after attempt to open file for write.
...
Fix supplied by Zdenek Salvet in PR kern/7329.
1999-04-07 21:37:11 +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
is
bfb7f2aaf3
Multisession-CD-Support, by Torsten Duwe <duwe@ns.lst.de>.
1999-01-04 15:32:08 +00:00
mycroft
68a70a83ba
Check permissions on device to be mounted.
1998-09-05 04:34:47 +00:00
thorpej
cf6b3d3ec9
Use the pool allocator and the "nointr" pool page allocator for cd9660 nodes.
1998-09-01 03:40:19 +00:00
kleink
5350df2953
Per POSIX, fail with EINVAL if advisory locking is attempted on a file type
...
that doesn't support it, rather than using a homegrown EBADF or EOPNOTSUPP.
1998-08-13 10:06:31 +00:00
matthias
574106c52b
create miscfs/genfs/genfs_vnops.c:genfs_enoioctl and make all the other
...
filesystems use it instead of a private version.
1998-08-10 08:11:10 +00:00
perry
e1601dc2ca
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:36:58 +00:00
kleink
12a866151b
Recognize _PC_SYNC_IO.
1998-08-03 14:19:57 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
thorpej
0f66e53c03
Use genfs_lease_check()
1998-06-25 22:20:39 +00:00
sommerfe
7ba7fbbb23
Always include fifos; "not an option any more".
1998-06-24 20:58:44 +00:00
sommerfe
becaafeea0
defopt for options FIFO
1998-06-22 22:00:59 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
kleink
d4a8052f98
Fix some arithmetics lossage on typeless pointers.
1998-05-08 18:31:13 +00:00
fvdl
9810527f1c
Add NetBSD Id that got lost.
1998-03-01 02:27:49 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
fvdl
e8d05f0741
Import 4.4BSD-Lite2
1998-03-01 02:12:49 +00:00
thorpej
b5bf2ed6d0
Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
...
structure, for use by vfs_attach().
1998-02-18 07:05:47 +00:00
chs
f64abc7b4c
add flags arg to hashinit(), to pass to malloc().
1998-02-07 02:44:44 +00:00
christos
e6f8df1a63
Add missing casts to nlink_t and dev_t
1997-10-16 23:56:57 +00:00
fvdl
fd5433c6bc
Bump last argument to VOP_READDIR to off_t (from u_long).
1997-10-10 01:57:31 +00:00
cgd
6ac982f2a0
mark prototypes for static inline functions as possibly unused (with
...
__attribute__ ((unused))), to avoid generating warnings when compiling
without optimization but with most ports' default warning flags.
1997-07-07 22:45:34 +00:00
pk
b769cc2fb1
Remove initialization of `swapdev_vp' from mountroot().
1997-06-13 15:38:58 +00:00
mycroft
5bd3538a41
Fix typo.
1997-05-08 16:43:16 +00:00