aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
commitd6a0e38a1bffb551c7a3159a072a0ac3b30abccb (patch)
tree6fd058e379c30c9846c02d23271af0842114b5d1 /sys/fs
parent784733e9ecb7b3cbb1655b9026841f7bcbcba164 (diff)
downloadsrc-d6a0e38a1bffb551c7a3159a072a0ac3b30abccb.tar.gz
src-d6a0e38a1bffb551c7a3159a072a0ac3b30abccb.zip
Remove five now unused fields from struct cdevsw. They should never
have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
Notes
Notes: svn path=/head/; revision=51658
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/coda/coda_fbsd.c5
-rw-r--r--sys/fs/specfs/spec_vnops.c4
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c
index ea16d154b4f7..f7143bdfe298 100644
--- a/sys/fs/coda/coda_fbsd.c
+++ b/sys/fs/coda/coda_fbsd.c
@@ -71,19 +71,14 @@ static struct cdevsw codadevsw = {
/* read */ vc_nb_read,
/* write */ vc_nb_write,
/* ioctl */ vc_nb_ioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ vc_nb_poll,
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "Coda",
- /* parms */ noparms,
/* maj */ VC_DEV_NO,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* maxio */ 0,
/* bmaj */ -1
};
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c
index 5c003f9955f0..4a079468be31 100644
--- a/sys/fs/specfs/spec_vnops.c
+++ b/sys/fs/specfs/spec_vnops.c
@@ -243,8 +243,8 @@ spec_open(ap)
struct tty *tp;
tp = dev->si_tty;
if (!tp->t_stop) {
- printf("Warning:%s: no t_stop, using nostop\n", devtoname(dev));
- tp->t_stop = nostop;
+ printf("Warning:%s: no t_stop, using nottystop\n", devtoname(dev));
+ tp->t_stop = nottystop;
}
}
}