diff options
| author | 2007-09-11 13:41:52 +0000 | |
|---|---|---|
| committer | 2007-09-11 13:41:52 +0000 | |
| commit | 330ee264cf2812b9482048a197d89db5175912d9 (patch) | |
| tree | 35ae2a36a6ad7b9c5b8ea0d191e9b52d97ead984 /sys/nfs/nfs_vfsops.c | |
| parent | KNF (diff) | |
| download | wireguard-openbsd-330ee264cf2812b9482048a197d89db5175912d9.tar.xz wireguard-openbsd-330ee264cf2812b9482048a197d89db5175912d9.zip | |
Replace nfsm_reqdone and nfsm_srvdone macros inline. No binary change.
ok thib@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
| -rw-r--r-- | sys/nfs/nfs_vfsops.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 06b2abd7af2..3f1d9670b33 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.66 2007/06/20 15:00:43 thib Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.67 2007/09/11 13:41:52 blambert Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -169,7 +169,8 @@ nfs_statfs(mp, sbp, p) &sbp->mount_info.nfs_args, sizeof(struct nfs_args)); } strncpy(&sbp->f_fstypename[0], mp->mnt_vfc->vfc_name, MFSNAMELEN); - nfsm_reqdone; + m_freem(mrep); +nfsmout: vrele(vp); crfree(cred); return (error); @@ -231,7 +232,8 @@ nfs_fsinfo(nmp, vp, cred, p) } nmp->nm_flag |= NFSMNT_GOTFSINFO; } - nfsm_reqdone; + m_freem(mrep); +nfsmout: return (error); } |
