Remove a duplicated vfs_freeopts() that I introduced in last
revision.
This commit is contained in:
parent
c05529221e
commit
8eb0098f4c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97400
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user