diff options
author | 2008-06-26 23:56:26 +0000 | |
---|---|---|
committer | 2008-06-26 23:56:26 +0000 | |
commit | 1ee6512080b630edb64ab78e9cb3da81f8f0c326 (patch) | |
tree | 71064bee9de59012d966df4001ab140c5731d48a | |
parent | add bio & bioctl (diff) | |
download | wireguard-openbsd-1ee6512080b630edb64ab78e9cb3da81f8f0c326.tar.xz wireguard-openbsd-1ee6512080b630edb64ab78e9cb3da81f8f0c326.zip |
Label switch statement with /* FALLTHROUGH */; inspired by two
wasted hours tracking down a phantom mbuf leak.
ok thib@
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index c1367013e58..7a4ba672043 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.66 2008/06/14 19:33:58 beck Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.67 2008/06/26 23:56:26 blambert Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -426,6 +426,8 @@ nfssvc_nfsd(nsd, argp, p) nfsstats.srvrpccnt[nd->nd_procnum]++; nfsrv_updatecache(nd, TRUE, mreq); nd->nd_mrep = (struct mbuf *)0; + + /* FALLTHROUGH */ case RC_REPLY: m = mreq; siz = 0; |