Module Name: src
Committed By: reinoud
Date: Mon Jul 27 13:13:33 UTC 2009
Modified Files:
src/sys/fs/udf: udf_subr.c
Log Message:
Issue extra synchronise caches before closing tracks or sessions. It shouldn't
be needed as the caches should already be synchronised, but better be safe.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/fs/udf/udf_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/udf/udf_subr.c
diff -u src/sys/fs/udf/udf_subr.c:1.98 src/sys/fs/udf/udf_subr.c:1.99
--- src/sys/fs/udf/udf_subr.c:1.98 Tue Jul 7 10:23:36 2009
+++ src/sys/fs/udf/udf_subr.c Mon Jul 27 13:13:33 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.98 2009/07/07 10:23:36 reinoud Exp $ */
+/* $NetBSD: udf_subr.c,v 1.99 2009/07/27 13:13:33 reinoud Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.98 2009/07/07 10:23:36 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.99 2009/07/27 13:13:33 reinoud Exp $");
#endif /* not lint */
@@ -3809,6 +3809,8 @@
if (error)
return error;
+ (void) udf_synchronise_caches(ump);
+
/* close all associated tracks */
tracknr = ump->discinfo.first_track_last_session;
error = 0;