diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-06-26 23:56:27 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-06-26 23:56:27 +0000 |
commit | 92cf20336b4080933cf99fa0e0b4c052cc0000a8 (patch) | |
tree | 32e76e156c4770eaa433527763c1885b4c8d425a /sys/nfs/nfs_syscalls.c | |
parent | a165059cc9b21ffe6cd269053448ca1f4c8c5c74 (diff) |
Label switch statement with /* FALLTHROUGH */; inspired by two
wasted hours tracking down a phantom mbuf leak.
ok thib@
Diffstat (limited to 'sys/nfs/nfs_syscalls.c')
-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; |