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

Dmitry Chagin dchagin at FreeBSD.org
Sat Jul 8 21:13:26 UTC 2017


Author: dchagin
Date: Sat Jul  8 21:13:25 2017
New Revision: 320819
URL: https://svnweb.freebsd.org/changeset/base/320819

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:12:00 2017	(r320818)
+++ head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:13:25 2017	(r320819)
@@ -99,7 +99,7 @@ fdesc_mount(struct mount *mp)
 	 * We need to initialize a few bits of our local mount point struct to
 	 * avoid confusion in allocvp.
 	 */
-	mp->mnt_data = (qaddr_t) fmp;
+	mp->mnt_data = fmp;
 	fmp->flags = 0;
 	error = fdesc_allocvp(Froot, -1, FD_ROOT, mp, &rvp);
 	if (error) {


More information about the svn-src-head mailing list