vfs_vnops.c (6b42f0a2eb16160e2af30741dc609774d0c22726) | vfs_vnops.c (a8d43c90af5122ecff75b55fbaf6d5806674411b) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 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. --- 220 unchanged lines hidden (view full) --- 229 if (error) 230 goto bad; 231 } 232 } 233 if ((error = VOP_GETATTR(vp, vap, cred, td)) == 0) { 234 vp->v_cachedfs = vap->va_fsid; 235 vp->v_cachedid = vap->va_fileid; 236 } | 1/* 2 * Copyright (c) 1982, 1986, 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. --- 220 unchanged lines hidden (view full) --- 229 if (error) 230 goto bad; 231 } 232 } 233 if ((error = VOP_GETATTR(vp, vap, cred, td)) == 0) { 234 vp->v_cachedfs = vap->va_fsid; 235 vp->v_cachedid = vap->va_fileid; 236 } |
237 if ((error = VOP_OPEN(vp, fmode, cred, td)) != 0) | 237 if ((error = VOP_OPEN(vp, fmode, cred, td, -1)) != 0) |
238 goto bad; 239 /* 240 * Make sure that a VM object is created for VMIO support. 241 */ 242 if (vn_canvmio(vp) == TRUE) { 243#ifdef LOOKUP_SHARED 244 int flock; 245 --- 919 unchanged lines hidden --- | 238 goto bad; 239 /* 240 * Make sure that a VM object is created for VMIO support. 241 */ 242 if (vn_canvmio(vp) == TRUE) { 243#ifdef LOOKUP_SHARED 244 int flock; 245 --- 919 unchanged lines hidden --- |