From: Jeremy Mika Date: Tue, 27 Jul 2004 17:24:40 +0000 (+0000) Subject: fbsd53-20040727 X-Git-Tag: BP-openafs-stable-1_4_x~74 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=49fb21afc5a9c0f5d5568d93167b6d8561ba78a5;p=packages%2Fo%2Fopenafs.git fbsd53-20040727 FreeBSD 5.3 has an extra thread arg to vflush() --- diff --git a/src/afs/FBSD/osi_vfsops.c b/src/afs/FBSD/osi_vfsops.c index 1891880fa..78f05dd4a 100644 --- a/src/afs/FBSD/osi_vfsops.c +++ b/src/afs/FBSD/osi_vfsops.c @@ -74,7 +74,11 @@ afs_unmount(struct mount *mp, int flags, THREAD_OR_PROC) * the root vnode (this is just a guess right now). * This has to be done outside the global lock. */ +#ifdef AFS_FBSD53_ENV + vflush(mp, 1, (flags & MNT_FORCE) ? FORCECLOSE : 0, p); +#else vflush(mp, 1, (flags & MNT_FORCE) ? FORCECLOSE : 0); +#endif AFS_GLOCK(); AFS_STATCNT(afs_unmount); afs_globalVFS = 0;