svn commit: r320818 - head/sys/fs/fdescfs

Dmitry Chagin dchagin at FreeBSD.org
Sat Jul 8 21:12:01 UTC 2017


Author: dchagin
Date: Sat Jul  8 21:12:00 2017
New Revision: 320818
URL: https://svnweb.freebsd.org/changeset/base/320818

Log:
  Eliminate the bogus cast.
  
  MFC after:	3 weeks

Modified:
  head/sys/fs/fdescfs/fdesc_vfsops.c

Modified: head/sys/fs/fdescfs/fdesc_vfsops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:08:22 2017	(r320817)
+++ head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:12:00 2017	(r320818)
@@ -126,7 +126,7 @@ fdesc_unmount(struct mount *mp, int mntflags)
 	int error, flags;
 
 	flags = 0;
-	fmp = (struct fdescmount *)mp->mnt_data;
+	fmp = mp->mnt_data;
 	if (mntflags & MNT_FORCE) {
 		/* The hash mutex protects the private mount flags. */
 		mtx_lock(&fdesc_hashmtx);


More information about the svn-src-head mailing list