Remove a duplicated vfs_freeopts() that I introduced in last

revision.
This commit is contained in:
mux 2002-05-28 13:27:55 +00:00
parent b3ff7bedf7
commit 8ba975c439
2 changed files with 2 additions and 4 deletions

View File

@ -571,8 +571,7 @@ update:
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 @@ update:
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.