vfs_subr.c (12767) | vfs_subr.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_subr.c 8.13 (Berkeley) 4/18/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_subr.c 8.13 (Berkeley) 4/18/94 |
39 * $Id: vfs_subr.c,v 1.47 1995/12/07 12:47:04 davidg Exp $ | 39 * $Id: vfs_subr.c,v 1.48 1995/12/11 04:56:09 dyson Exp $ |
40 */ 41 42/* 43 * External virtual filesystem routines 44 */ 45 46#include <sys/param.h> 47#include <sys/systm.h> --- 834 unchanged lines hidden (view full) --- 882 * Remove any vnodes in the vnode table belonging to mount point mp. 883 * 884 * If MNT_NOFORCE is specified, there should not be any active ones, 885 * return error if any are found (nb: this is a user error, not a 886 * system error). If MNT_FORCE is specified, detach any active vnodes 887 * that are found. 888 */ 889#ifdef DIAGNOSTIC | 40 */ 41 42/* 43 * External virtual filesystem routines 44 */ 45 46#include <sys/param.h> 47#include <sys/systm.h> --- 834 unchanged lines hidden (view full) --- 882 * Remove any vnodes in the vnode table belonging to mount point mp. 883 * 884 * If MNT_NOFORCE is specified, there should not be any active ones, 885 * return error if any are found (nb: this is a user error, not a 886 * system error). If MNT_FORCE is specified, detach any active vnodes 887 * that are found. 888 */ 889#ifdef DIAGNOSTIC |
890int busyprt = 0; /* print out busy vnodes */ | 890static int busyprt = 0; /* print out busy vnodes */ |
891SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, ""); 892#endif 893 894int 895vflush(mp, skipvp, flags) 896 struct mount *mp; 897 struct vnode *skipvp; 898 int flags; --- 639 unchanged lines hidden --- | 891SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, ""); 892#endif 893 894int 895vflush(mp, skipvp, flags) 896 struct mount *mp; 897 struct vnode *skipvp; 898 int flags; --- 639 unchanged lines hidden --- |