1/* 2 * Copyright (c) 1989, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95 |
37 * $Id: nfs_vfsops.c,v 1.56 1998/03/14 03:25:18 tegge Exp $ |
38 */ 39 40#include <sys/param.h> 41#include <sys/sockio.h> 42#include <sys/proc.h> 43#include <sys/vnode.h> 44#include <sys/kernel.h> 45#include <sys/sysctl.h> --- 348 unchanged lines hidden (view full) --- 394 int error, i; 395 u_long l; 396 char buf[128]; 397 398 /* 399 * XXX time must be non-zero when we init the interface or else 400 * the arp code will wedge... 401 */ |
402 while (time_second == 0) 403 tsleep(&time_second, PZERO+8, "arpkludge", 10); |
404 405 if (nfs_diskless_valid==1) 406 nfs_convert_diskless(); 407 408 /* 409 * XXX splnet, so networks will receive... 410 */ 411 splnet(); --- 636 unchanged lines hidden --- |