svn commit: r321973 - head/sys/dev/ksyms

Mark Johnston markj at FreeBSD.org
Thu Aug 3 05:55:02 UTC 2017


Author: markj
Date: Thu Aug  3 05:55:01 2017
New Revision: 321973
URL: https://svnweb.freebsd.org/changeset/base/321973

Log:
  Remove D_TRACKCLOSE now that ksyms no longer has a close method.
  
  Reported by:	jhb
  X-MFC with:	r321963

Modified:
  head/sys/dev/ksyms/ksyms.c

Modified: head/sys/dev/ksyms/ksyms.c
==============================================================================
--- head/sys/dev/ksyms/ksyms.c	Thu Aug  3 05:32:27 2017	(r321972)
+++ head/sys/dev/ksyms/ksyms.c	Thu Aug  3 05:55:01 2017	(r321973)
@@ -71,7 +71,7 @@ static d_mmap_single_t ksyms_mmap_single;
 
 static struct cdevsw ksyms_cdevsw = {
 	.d_version =	D_VERSION,
-	.d_flags =	D_TRACKCLOSE,
+	.d_flags =	0,
 	.d_open =	ksyms_open,
 	.d_read =	ksyms_read,
 	.d_mmap_single = ksyms_mmap_single,


More information about the svn-src-head mailing list