Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2017 21:12:00 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320818 - head/sys/fs/fdescfs
Message-ID:  <201707082112.v68LC0Xv005162@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707082112.v68LC0Xv005162>