mntflushbuf() cargo cult comment mania cleanup. there is no mntflushbuf().
This commit is contained in:
parent
b7d4ee5f17
commit
4b8065ff1e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cd9660_vfsops.c,v 1.41 2007/06/30 09:37:55 pooka Exp $ */
|
||||
/* $NetBSD: cd9660_vfsops.c,v 1.42 2007/07/09 00:01:42 pooka Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.41 2007/06/30 09:37:55 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.42 2007/07/09 00:01:42 pooka Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -535,11 +535,6 @@ cd9660_unmount(mp, mntflags, l)
|
|||
|
||||
if (mntflags & MNT_FORCE)
|
||||
flags |= FORCECLOSE;
|
||||
#if 0
|
||||
mntflushbuf(mp, 0);
|
||||
if (mntinvalbuf(mp))
|
||||
return EBUSY;
|
||||
#endif
|
||||
if ((error = vflush(mp, NULLVP, flags)) != 0)
|
||||
return (error);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filecore_vfsops.c,v 1.34 2007/06/30 09:37:55 pooka Exp $ */
|
||||
/* $NetBSD: filecore_vfsops.c,v 1.35 2007/07/09 00:01:42 pooka Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The Regents of the University of California.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.34 2007/06/30 09:37:55 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.35 2007/07/09 00:01:42 pooka Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
@ -432,11 +432,6 @@ filecore_unmount(mp, mntflags, l)
|
|||
|
||||
if (mntflags & MNT_FORCE)
|
||||
flags |= FORCECLOSE;
|
||||
#if 0
|
||||
mntflushbuf(mp, 0);
|
||||
if (mntinvalbuf(mp))
|
||||
return EBUSY;
|
||||
#endif
|
||||
if ((error = vflush(mp, NULLVP, flags)) != 0)
|
||||
return (error);
|
||||
|
||||
|
|
Loading…
Reference in New Issue