aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/fdescfs/fdesc_vfsops.c
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2017-07-08 21:12:00 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2017-07-08 21:12:00 +0000
commit11fc6c6dac5babc0c995a246299300da257e7e86 (patch)
tree696ad7faf850c0a785fd822277d2352a9f0312e2 /sys/fs/fdescfs/fdesc_vfsops.c
parentb9d3485fb4e80ca302f3105a69f712b49846e2b6 (diff)
downloadsrc-11fc6c6dac5babc0c995a246299300da257e7e86.tar.gz
src-11fc6c6dac5babc0c995a246299300da257e7e86.zip
Eliminate the bogus cast.
MFC after: 3 weeks
Notes
Notes: svn path=/head/; revision=320818
Diffstat (limited to 'sys/fs/fdescfs/fdesc_vfsops.c')
-rw-r--r--sys/fs/fdescfs/fdesc_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c
index b933b571e832..59bc20027bf7 100644
--- a/sys/fs/fdescfs/fdesc_vfsops.c
+++ b/sys/fs/fdescfs/fdesc_vfsops.c
@@ -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);