vfs_subr.c (227070) | vfs_subr.c (228849) |
---|---|
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. --- 25 unchanged lines hidden (view full) --- 34 * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 35 */ 36 37/* 38 * External virtual filesystem routines 39 */ 40 41#include <sys/cdefs.h> | 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. --- 25 unchanged lines hidden (view full) --- 34 * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 35 */ 36 37/* 38 * External virtual filesystem routines 39 */ 40 41#include <sys/cdefs.h> |
42__FBSDID("$FreeBSD: head/sys/kern/vfs_subr.c 227070 2011-11-04 04:02:50Z jhb $"); | 42__FBSDID("$FreeBSD: head/sys/kern/vfs_subr.c 228849 2011-12-23 20:11:37Z jhb $"); |
43 44#include "opt_ddb.h" 45#include "opt_watchdog.h" 46 47#include <sys/param.h> 48#include <sys/systm.h> 49#include <sys/bio.h> 50#include <sys/buf.h> --- 3977 unchanged lines hidden (view full) --- 4028{ 4029 struct vop_create_args *a = ap; 4030 4031 if (!rc) 4032 VFS_KNOTE_LOCKED(a->a_dvp, NOTE_WRITE); 4033} 4034 4035void | 43 44#include "opt_ddb.h" 45#include "opt_watchdog.h" 46 47#include <sys/param.h> 48#include <sys/systm.h> 49#include <sys/bio.h> 50#include <sys/buf.h> --- 3977 unchanged lines hidden (view full) --- 4028{ 4029 struct vop_create_args *a = ap; 4030 4031 if (!rc) 4032 VFS_KNOTE_LOCKED(a->a_dvp, NOTE_WRITE); 4033} 4034 4035void |
4036vop_deleteextattr_post(void *ap, int rc) 4037{ 4038 struct vop_setattr_args *a = ap; 4039 4040 if (!rc) 4041 VFS_KNOTE_LOCKED(a->a_vp, NOTE_ATTRIB); 4042} 4043 4044void |
|
4036vop_link_post(void *ap, int rc) 4037{ 4038 struct vop_link_args *a = ap; 4039 4040 if (!rc) { 4041 VFS_KNOTE_LOCKED(a->a_vp, NOTE_LINK); 4042 VFS_KNOTE_LOCKED(a->a_tdvp, NOTE_WRITE); 4043 } --- 65 unchanged lines hidden (view full) --- 4109{ 4110 struct vop_setattr_args *a = ap; 4111 4112 if (!rc) 4113 VFS_KNOTE_LOCKED(a->a_vp, NOTE_ATTRIB); 4114} 4115 4116void | 4045vop_link_post(void *ap, int rc) 4046{ 4047 struct vop_link_args *a = ap; 4048 4049 if (!rc) { 4050 VFS_KNOTE_LOCKED(a->a_vp, NOTE_LINK); 4051 VFS_KNOTE_LOCKED(a->a_tdvp, NOTE_WRITE); 4052 } --- 65 unchanged lines hidden (view full) --- 4118{ 4119 struct vop_setattr_args *a = ap; 4120 4121 if (!rc) 4122 VFS_KNOTE_LOCKED(a->a_vp, NOTE_ATTRIB); 4123} 4124 4125void |
4126vop_setextattr_post(void *ap, int rc) 4127{ 4128 struct vop_setattr_args *a = ap; 4129 4130 if (!rc) 4131 VFS_KNOTE_LOCKED(a->a_vp, NOTE_ATTRIB); 4132} 4133 4134void |
|
4117vop_symlink_post(void *ap, int rc) 4118{ 4119 struct vop_symlink_args *a = ap; 4120 4121 if (!rc) 4122 VFS_KNOTE_LOCKED(a->a_dvp, NOTE_WRITE); 4123} 4124 --- 357 unchanged lines hidden --- | 4135vop_symlink_post(void *ap, int rc) 4136{ 4137 struct vop_symlink_args *a = ap; 4138 4139 if (!rc) 4140 VFS_KNOTE_LOCKED(a->a_dvp, NOTE_WRITE); 4141} 4142 --- 357 unchanged lines hidden --- |