diff options
author | pjd <pjd@FreeBSD.org> | 2008-07-21 09:45:44 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-07-21 09:45:44 +0000 |
commit | 129b3149d88b64c7ad0f160add87769a02526a18 (patch) | |
tree | b337e9df11cebd41f4c6043fdf1676c46e2019a4 /sys/cddl/compat | |
parent | 673bf0fe8a1e0795c38d7f4faa8f09a6ad446f53 (diff) | |
download | FreeBSD-src-129b3149d88b64c7ad0f160add87769a02526a18.zip FreeBSD-src-129b3149d88b64c7ad0f160add87769a02526a18.tar.gz |
We want to check new options given, not the current ones.
This fixes 'zpool import -o <mntopt> <name>' not working properly.
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c b/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c index 166eeed..6360a72 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c @@ -100,7 +100,7 @@ vfs_clearmntopt(vfs_t *vfsp, const char *name) int vfs_optionisset(const vfs_t *vfsp, const char *opt, char **argp) { - struct vfsoptlist *opts = vfsp->mnt_opt; + struct vfsoptlist *opts = vfsp->mnt_optnew; int error; if (opts == NULL) |