Mercurial > illumos > illumos-gate
changeset 3704:ee43c2e7f7c5
6447800 processes run on one lofs share then run on others only noted in first lofs share
author | vv149972 |
---|---|
date | Fri, 23 Feb 2007 03:20:39 -0800 |
parents | 914e4929dd48 |
children | 3b534e49cef6 |
files | usr/src/uts/common/fs/specfs/specsubr.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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); }