vfs_extattr.c (1226914c170d219b94ed40eb73bb936a2fb51675) | vfs_extattr.c (a8d43c90af5122ecff75b55fbaf6d5806674411b) |
---|---|
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. --- 3607 unchanged lines hidden (view full) --- 3616 error = VOP_SETATTR(vp, vap, td->td_ucred, td); 3617#ifdef MAC 3618 } 3619#endif 3620 vn_finished_write(mp); 3621 if (error) 3622 goto bad; 3623 } | 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. --- 3607 unchanged lines hidden (view full) --- 3616 error = VOP_SETATTR(vp, vap, td->td_ucred, td); 3617#ifdef MAC 3618 } 3619#endif 3620 vn_finished_write(mp); 3621 if (error) 3622 goto bad; 3623 } |
3624 error = VOP_OPEN(vp, fmode, td->td_ucred, td); | 3624 error = VOP_OPEN(vp, fmode, td->td_ucred, td, -1); |
3625 if (error) 3626 goto bad; 3627 /* 3628 * Make sure that a VM object is created for VMIO support. 3629 */ 3630 if (vn_canvmio(vp) == TRUE) { 3631 if ((error = vfs_object_create(vp, td, td->td_ucred)) != 0) 3632 goto bad; --- 854 unchanged lines hidden --- | 3625 if (error) 3626 goto bad; 3627 /* 3628 * Make sure that a VM object is created for VMIO support. 3629 */ 3630 if (vn_canvmio(vp) == TRUE) { 3631 if ((error = vfs_object_create(vp, td, td->td_ucred)) != 0) 3632 goto bad; --- 854 unchanged lines hidden --- |