Eliminate the bogus cast.

MFC after:	3 weeks
This commit is contained in:
Dmitry Chagin 2017-07-08 21:12:00 +00:00
parent b9d3485fb4
commit 11fc6c6dac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320818

View file

@ -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);