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

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