summaryrefslogtreecommitdiffstats
path: root/sys/fs/deadfs
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
commit2469c867a164210ce96143517059f21db7f1fd17 (patch)
tree9179427ac860211c445df663fd2b86267366bfba /sys/fs/deadfs
parentcb0aba89af15a48e2655e898a503946ac4cb42ae (diff)
downloadFreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.zip
FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.tar.gz
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
Diffstat (limited to 'sys/fs/deadfs')
-rw-r--r--sys/fs/deadfs/dead_vnops.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c
index 9d04652..cac8775 100644
--- a/sys/fs/deadfs/dead_vnops.c
+++ b/sys/fs/deadfs/dead_vnops.c
@@ -156,6 +156,7 @@ dead_lookup(ap)
* Open always fails as if device did not exist.
*/
/* ARGSUSED */
+int
dead_open(ap)
struct vop_open_args /* {
struct vnode *a_vp;
@@ -172,6 +173,7 @@ dead_open(ap)
* Vnode op for read
*/
/* ARGSUSED */
+int
dead_read(ap)
struct vop_read_args /* {
struct vnode *a_vp;
@@ -195,6 +197,7 @@ dead_read(ap)
* Vnode op for write
*/
/* ARGSUSED */
+int
dead_write(ap)
struct vop_write_args /* {
struct vnode *a_vp;
@@ -213,6 +216,7 @@ dead_write(ap)
* Device ioctl operation.
*/
/* ARGSUSED */
+int
dead_ioctl(ap)
struct vop_ioctl_args /* {
struct vnode *a_vp;
@@ -230,6 +234,7 @@ dead_ioctl(ap)
}
/* ARGSUSED */
+int
dead_select(ap)
struct vop_select_args /* {
struct vnode *a_vp;
@@ -249,6 +254,7 @@ dead_select(ap)
/*
* Just call the device strategy routine
*/
+int
dead_strategy(ap)
struct vop_strategy_args /* {
struct buf *a_bp;
@@ -266,6 +272,7 @@ dead_strategy(ap)
/*
* Wait until the vnode has finished changing state.
*/
+int
dead_lock(ap)
struct vop_lock_args /* {
struct vnode *a_vp;
@@ -280,6 +287,7 @@ dead_lock(ap)
/*
* Wait until the vnode has finished changing state.
*/
+int
dead_bmap(ap)
struct vop_bmap_args /* {
struct vnode *a_vp;
@@ -299,6 +307,7 @@ dead_bmap(ap)
* Print out the contents of a dead vnode.
*/
/* ARGSUSED */
+int
dead_print(ap)
struct vop_print_args /* {
struct vnode *a_vp;
@@ -306,11 +315,13 @@ dead_print(ap)
{
printf("tag VT_NON, dead vnode\n");
+ return (0);
}
/*
* Empty vnode failed operation
*/
+int
dead_ebadf()
{
@@ -320,6 +331,7 @@ dead_ebadf()
/*
* Empty vnode bad operation
*/
+int
dead_badop()
{
@@ -330,6 +342,7 @@ dead_badop()
/*
* Empty vnode null operation
*/
+int
dead_nullop()
{
@@ -340,6 +353,7 @@ dead_nullop()
* We have to wait during times when the vnode is
* in a state of change.
*/
+int
chkvnlock(vp)
register struct vnode *vp;
{
OpenPOWER on IntegriCloud