vfs_syscalls.c (12767) | vfs_syscalls.c (12913) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 |
39 * $Id: vfs_syscalls.c,v 1.42 1995/12/07 12:47:06 davidg Exp $ | 39 * $Id: vfs_syscalls.c,v 1.43 1995/12/11 04:56:11 dyson Exp $ |
40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/sysproto.h> 45#include <sys/namei.h> 46#include <sys/filedesc.h> 47#include <sys/kernel.h> --- 264 unchanged lines hidden (view full) --- 312 free((caddr_t)mp, M_MOUNT); 313 } 314 return (error); 315} 316 317/* 318 * Sync each mounted filesystem. 319 */ | 40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/sysproto.h> 45#include <sys/namei.h> 46#include <sys/filedesc.h> 47#include <sys/kernel.h> --- 264 unchanged lines hidden (view full) --- 312 free((caddr_t)mp, M_MOUNT); 313 } 314 return (error); 315} 316 317/* 318 * Sync each mounted filesystem. 319 */ |
320#ifdef DIAGNOSTIC 321int syncprt = 0; 322SYSCTL_INT(_debug, 0, syncprt, CTLFLAG_RW, &syncprt, 0, ""); 323#endif | |
324 325#ifndef _SYS_SYSPROTO_H_ 326struct sync_args { 327 int dummy; 328}; 329#endif 330 331/* ARGSUSED */ --- 2004 unchanged lines hidden --- | 320 321#ifndef _SYS_SYSPROTO_H_ 322struct sync_args { 323 int dummy; 324}; 325#endif 326 327/* ARGSUSED */ --- 2004 unchanged lines hidden --- |