Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-localcount]: src/sys/dev Don't try to call device_release() if ...
details: https://anonhg.NetBSD.org/src/rev/f150a39a82c1
branches: pgoyette-localcount
changeset: 852877:f150a39a82c1
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jul 28 01:44:55 2016 +0000
description:
Don't try to call device_release() if we succesfully called vnd_destroy()
diffstat:
sys/dev/vnd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r cadf6a4564f1 -r f150a39a82c1 sys/dev/vnd.c
--- a/sys/dev/vnd.c Thu Jul 28 01:07:20 2016 +0000
+++ b/sys/dev/vnd.c Thu Jul 28 01:44:55 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vnd.c,v 1.256.2.11 2016/07/28 01:07:20 pgoyette Exp $ */
+/* $NetBSD: vnd.c,v 1.256.2.12 2016/07/28 01:44:55 pgoyette Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.256.2.11 2016/07/28 01:07:20 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.256.2.12 2016/07/28 01:44:55 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vnd.h"
@@ -500,8 +500,8 @@
aprint_error_dev(sc->sc_dev,
"unable to detach instance\n");
device_release(self);
- return error;
}
+ return error;
}
device_release(self);
Home |
Main Index |
Thread Index |
Old Index