Module Name: othersrc
Committed By: pooka
Date: Wed Feb 9 16:47:14 UTC 2011
Modified Files:
othersrc/lib/libfsu_mount: fsu_mount.c
Log Message:
In case the gentle ukfs_release() fails, do it again mit KRAFT ...
err, with FORCE. This decreases the chance the file system will
be dirty after we plop with it.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 othersrc/lib/libfsu_mount/fsu_mount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/lib/libfsu_mount/fsu_mount.c
diff -u othersrc/lib/libfsu_mount/fsu_mount.c:1.19 othersrc/lib/libfsu_mount/fsu_mount.c:1.20
--- othersrc/lib/libfsu_mount/fsu_mount.c:1.19 Fri Mar 5 19:37:41 2010
+++ othersrc/lib/libfsu_mount/fsu_mount.c Wed Feb 9 16:47:13 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: fsu_mount.c,v 1.19 2010/03/05 19:37:41 stacktic Exp $ */
+/* $NetBSD: fsu_mount.c,v 1.20 2011/02/09 16:47:13 pooka Exp $ */
/*
* Copyright (c) 2008,2009 Arnaud Ysmal. All Rights Reserved.
@@ -457,7 +457,9 @@
if (ukfs == NULL)
return;
- ukfs_release(ukfs, 0);
+ if (ukfs_release(ukfs, 0) == -1)
+ ukfs_release(ukfs, UKFS_RELFLAG_FORCE);
+
}
const char *