From a75e6a71107531e1b94a6814e1567f9f3d7bb655 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 8 Feb 2005 18:09:11 +0000 Subject: Drag another softupdates tentacle back into FFS: Now that FFS's vop_fsync is separate from the internal use we can do the full job there. --- sys/kern/vfs_extattr.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/kern/vfs_extattr.c') diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 81a3235..8c2c8b6 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -89,7 +89,6 @@ static int extattr_list_vp(struct vnode *vp, int attrnamespace, void *data, size_t nbytes, struct thread *td); int (*union_dircheckp)(struct thread *td, struct vnode **, struct file *); -int (*softdep_fsync_hook)(struct vnode *); /* * The module initialization routine for POSIX asynchronous I/O will @@ -3149,9 +3148,6 @@ fsync(td, uap) VM_OBJECT_UNLOCK(vp->v_object); } error = VOP_FSYNC(vp, MNT_WAIT, td); - if (error == 0 && vp->v_mount && (vp->v_mount->mnt_flag & MNT_SOFTDEP) - && softdep_fsync_hook != NULL) - error = (*softdep_fsync_hook)(vp); VOP_UNLOCK(vp, 0, td); vn_finished_write(mp); -- cgit v1.1