diff options
author | dg <dg@FreeBSD.org> | 1995-07-20 09:43:12 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-07-20 09:43:12 +0000 |
commit | b8e783516fe93f74be3f95b44fbeb5719a33d819 (patch) | |
tree | a0ef8c96344a420bf01c881f7614832b061bf97b /sys/nfsclient | |
parent | af7843817632514c6ffa9c3e49d5f4d821d68e6e (diff) | |
download | FreeBSD-src-b8e783516fe93f74be3f95b44fbeb5719a33d819.zip FreeBSD-src-b8e783516fe93f74be3f95b44fbeb5719a33d819.tar.gz |
vnode_pager_alloc() never returns NULL, so don't check for it.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_subs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_subs.c b/sys/nfsclient/nfs_subs.c index 848c30b..f01e1b0 100644 --- a/sys/nfsclient/nfs_subs.c +++ b/sys/nfsclient/nfs_subs.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_subs.c 8.3 (Berkeley) 1/4/94 - * $Id: nfs_subs.c,v 1.19 1995/07/09 06:57:59 davidg Exp $ + * $Id: nfs_subs.c,v 1.20 1995/07/13 08:47:53 davidg Exp $ */ /* @@ -1909,8 +1909,7 @@ retry: if (VOP_GETATTR(vp, &vat, p->p_ucred, p) != 0) panic("nfsrv_vmio: VOP_GETATTR failed"); - if (vnode_pager_alloc(vp, vat.va_size, 0, 0) == NULL) - panic("nfsrv_vmio: vnode_pager_alloc failed"); + (void) vnode_pager_alloc(vp, vat.va_size, 0, 0); vp->v_flag |= VVMIO; } else { |