Don't try to ffs_update VT_NON vnodes
This commit is contained in:
parent
6ed7894fd9
commit
437cf02e63
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ffs_vnops.c,v 1.107 2008/12/22 12:18:48 ad Exp $ */
|
||||
/* $NetBSD: ffs_vnops.c,v 1.108 2008/12/28 16:27:00 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008 The NetBSD Foundation, Inc.
|
||||
@ -61,7 +61,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ffs_vnops.c,v 1.107 2008/12/22 12:18:48 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ffs_vnops.c,v 1.108 2008/12/28 16:27:00 christos Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ffs.h"
|
||||
@ -576,7 +576,7 @@ loop:
|
||||
else
|
||||
waitfor = (flags & FSYNC_WAIT) ? UPDATE_WAIT : 0;
|
||||
|
||||
if (ffsino)
|
||||
if (ffsino && vp->v_tag == VT_UFS)
|
||||
error = ffs_update(vp, NULL, NULL, waitfor);
|
||||
|
||||
if (error == 0 && flags & FSYNC_CACHE) {
|
||||
|
Loading…
Reference in New Issue
Block a user