diff options
Diffstat (limited to 'sys/fs/deadfs/dead_vnops.c')
-rw-r--r-- | sys/fs/deadfs/dead_vnops.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 9d04652b7fc8..cac8775810c0 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; { |