Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/sys/dev add a comment - NFC
details: https://anonhg.NetBSD.org/src/rev/e6c2efba0a7c
branches: prg-localcount2
changeset: 823522:e6c2efba0a7c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Apr 29 08:55:37 2017 +0000
description:
add a comment - NFC
diffstat:
sys/dev/cgd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 1573325b6698 -r e6c2efba0a7c sys/dev/cgd.c
--- a/sys/dev/cgd.c Sat Apr 29 06:33:37 2017 +0000
+++ b/sys/dev/cgd.c Sat Apr 29 08:55:37 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.114.4.4 2017/04/28 06:00:33 pgoyette Exp $ */
+/* $NetBSD: cgd.c,v 1.114.4.5 2017/04/29 08:55:37 pgoyette Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.114.4.4 2017/04/28 06:00:33 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.114.4.5 2017/04/29 08:55:37 pgoyette Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -449,6 +449,8 @@
}
return error;
}
+
+ /* Unit is still attached - just return */
device_release(self);
return 0;
}
Home |
Main Index |
Thread Index |
Old Index