summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_vnops.c5
-rw-r--r--sys/nfs/nfs_common.c5
-rw-r--r--sys/nfs/nfs_subs.c5
-rw-r--r--sys/nfsclient/nfs_subs.c5
-rw-r--r--sys/nfsserver/nfs_srvsubs.c5
5 files changed, 10 insertions, 15 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 64f6621..26884ab 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_vnops.c 8.2 (Berkeley) 1/21/94
- * $Id: vfs_vnops.c,v 1.15 1995/07/13 08:47:44 davidg Exp $
+ * $Id: vfs_vnops.c,v 1.16 1995/07/16 10:12:30 bde Exp $
*/
#include <sys/param.h>
@@ -159,8 +159,7 @@ retry:
error = VOP_GETATTR(vp, vap, cred, p);
if (error)
goto bad;
- if (vnode_pager_alloc(vp, vap->va_size, 0, 0) == NULL)
- panic("vn_open: failed to allocate object");
+ (void) vnode_pager_alloc(vp, vap->va_size, 0, 0);
vp->v_flag |= VVMIO;
} else {
vm_object_t object;
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c
index 848c30b..f01e1b0 100644
--- a/sys/nfs/nfs_common.c
+++ b/sys/nfs/nfs_common.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 {
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index 848c30b..f01e1b0 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/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 {
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 {
diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c
index 848c30b..f01e1b0 100644
--- a/sys/nfsserver/nfs_srvsubs.c
+++ b/sys/nfsserver/nfs_srvsubs.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 {
OpenPOWER on IntegriCloud