missing parameter to mntflushbuf (from noemi@osf.org)
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 9 Feb 1990 07:30:34 +0000 (23:30 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 9 Feb 1990 07:30:34 +0000 (23:30 -0800)
SCCS-vsn: sys/nfs/nfs_vfsops.c 7.13

usr/src/sys/nfs/nfs_vfsops.c

index 7208e90..e5f1d36 100644 (file)
@@ -17,7 +17,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)nfs_vfsops.c        7.12 (Berkeley) %G%
+ *     @(#)nfs_vfsops.c        7.13 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -338,7 +338,7 @@ nfs_sync(mp, waitfor)
        /*
         * Force stale buffer cache information to be flushed.
         */
        /*
         * Force stale buffer cache information to be flushed.
         */
-       mntflushbuf(mp);
+       mntflushbuf(mp, waitfor == MNT_WAIT ? B_SYNC : 0);
        return (0);
 }
 
        return (0);
 }