Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libp2k in case unmount fails (it never should), do a ful...
details: https://anonhg.NetBSD.org/src/rev/e66a9c3af33f
branches: trunk
changeset: 760562:e66a9c3af33f
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jan 07 15:30:09 2011 +0000
description:
in case unmount fails (it never should), do a full mountpoint dump
diffstat:
lib/libp2k/p2k.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 88ece09ce547 -r e66a9c3af33f lib/libp2k/p2k.c
--- a/lib/libp2k/p2k.c Fri Jan 07 15:10:22 2011 +0000
+++ b/lib/libp2k/p2k.c Fri Jan 07 15:30:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: p2k.c,v 1.51 2011/01/07 11:15:30 pooka Exp $ */
+/* $NetBSD: p2k.c,v 1.52 2011/01/07 15:30:09 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -554,6 +554,13 @@
if (fs) {
if (ukfs_release(fs, 0) != 0) {
+ struct statvfs svfsb;
+
+ if (p2m->p2m_hasdebug
+ && p2k_fs_statvfs(pu, &svfsb) == 0) {
+ printf("\nSOFT UNMOUNT FAILED, MP INFO DUMP\n");
+ rump_pub_vfs_mount_print(svfsb.f_mntonname, 1);
+ }
ukfs_release(fs, UKFS_RELFLAG_FORCE);
error = 0;
}
Home |
Main Index |
Thread Index |
Old Index