diff options
author | mux <mux@FreeBSD.org> | 2002-05-28 13:27:55 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-05-28 13:27:55 +0000 |
commit | 8ba975c439aebe9d6f4c3a56a1ca957f258c14c4 (patch) | |
tree | 3cdb746b47cb3808d2736a503d8b1a6bb6089f51 /sys | |
parent | b3ff7bedf7d3dc21bbf62daa687fd321d8e525ab (diff) | |
download | FreeBSD-src-8ba975c439aebe9d6f4c3a56a1ca957f258c14c4.zip FreeBSD-src-8ba975c439aebe9d6f4c3a56a1ca957f258c14c4.tar.gz |
Remove a duplicated vfs_freeopts() that I introduced in last
revision.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_extattr.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index af10229..e994b37 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -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. diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index af10229..e994b37 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -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. |