diff options
author | phk <phk@FreeBSD.org> | 2005-02-08 18:09:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-08 18:09:11 +0000 |
commit | a75e6a71107531e1b94a6814e1567f9f3d7bb655 (patch) | |
tree | 74f26d1c750365766d00443a4a6215c3dda4ede5 /sys/kern/vfs_syscalls.c | |
parent | cc21fc94e937c01b8c5b55ca7fbc8881f5156b62 (diff) | |
download | FreeBSD-src-a75e6a71107531e1b94a6814e1567f9f3d7bb655.zip FreeBSD-src-a75e6a71107531e1b94a6814e1567f9f3d7bb655.tar.gz |
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.
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 81a3235..8c2c8b6 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.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); |