summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_vfsops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-08 17:40:01 +0000
committerphk <phk@FreeBSD.org>2005-02-08 17:40:01 +0000
commitc1f005619602550eecc1568c8f6e4e02bff64da1 (patch)
tree56ec3b07dfe79de858a61b5fa1e401ea78a57960 /sys/ufs/ffs/ffs_vfsops.c
parent76391460ae2ae324e3011e9ccfb306985d8b293d (diff)
downloadFreeBSD-src-c1f005619602550eecc1568c8f6e4e02bff64da1.zip
FreeBSD-src-c1f005619602550eecc1568c8f6e4e02bff64da1.tar.gz
Don't use the UFS_* and VFS_* functions where a direct call is possble.
The UFS_ functions are for UFS to call back into VFS. The VFS functions are external entry points into the filesystem.
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index f54f15e..aae9207 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -157,7 +157,7 @@ ffs_mount(struct mount *mp, struct thread *td)
/*
* Flush any dirty data.
*/
- if ((error = VFS_SYNC(mp, MNT_WAIT, td)) != 0) {
+ if ((error = ffs_sync(mp, MNT_WAIT, td)) != 0) {
vn_finished_write(mp);
return (error);
}
OpenPOWER on IntegriCloud