# HG changeset patch # User vv149972 # Date 1172229639 28800 # Node ID ee43c2e7f7c591f67aa1d3b608969204643ec82d # Parent 914e4929dd48e0435818aa59692cbf742b5ad1cc 6447800 processes run on one lofs share then run on others only noted in first lofs share diff -r 914e4929dd48 -r ee43c2e7f7c5 usr/src/uts/common/fs/specfs/specsubr.c --- a/usr/src/uts/common/fs/specfs/specsubr.c Thu Feb 22 21:45:40 2007 -0800 +++ b/usr/src/uts/common/fs/specfs/specsubr.c Fri Feb 23 03:20:39 2007 -0800 @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -637,7 +636,8 @@ svp = STOV(st); if (st->s_dev == dev && svp->v_type == type && VN_CMP(st->s_realvp, vp) && - (vp != NULL || st->s_commonvp == svp)) { + (vp != NULL || st->s_commonvp == svp) && + (vp == NULL || st->s_realvp->v_vfsp == vp->v_vfsp)) { VN_HOLD(svp); return (st); }