diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 9aaf4bddf1c..b07a356b07e 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -36,9 +36,11 @@ * SUCH DAMAGE. * * from: @(#)ffs_softdep.c 9.59 (McKusick) 6/21/00 - * $FreeBSD$ */ +#include +__FBSDID("$FreeBSD$"); + /* * For now we want the safety net that the DIAGNOSTIC and DEBUG flags provide. */ @@ -834,6 +836,8 @@ softdep_flushfiles(oldmnt, flags, td) { int error, count, loopcnt; + error = 0; + /* * Alternately flush the vnodes associated with the mount * point and process any dependencies that the flushing