Remove a duplicated vfs_freeopts() that I introduced in last

revision.
This commit is contained in:
Maxime Henrion 2002-05-28 13:27:55 +00:00
parent c05529221e
commit 8eb0098f4c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97400
2 changed files with 2 additions and 4 deletions

View File

@ -571,8 +571,7 @@ vfs_nmount(td, fsflags, fsoptions)
if (mp->mnt_opt != NULL)
vfs_freeopts(mp->mnt_opt);
mp->mnt_opt = mp->mnt_optnew;
} else
vfs_freeopts(mp->mnt_optnew);
}
/*
* Prevent external consumers of mount
* options to read mnt_optnew.

View File

@ -571,8 +571,7 @@ vfs_nmount(td, fsflags, fsoptions)
if (mp->mnt_opt != NULL)
vfs_freeopts(mp->mnt_opt);
mp->mnt_opt = mp->mnt_optnew;
} else
vfs_freeopts(mp->mnt_optnew);
}
/*
* Prevent external consumers of mount
* options to read mnt_optnew.