diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-07 15:25:36 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-07 15:25:36 +0000 |
| commit | 6366900a0f310b27523f02f67c531f0c2893578e (patch) | |
| tree | 6121830c8b6ced6fd277f63d8828585cb2a9f4d0 /sys/fs/cd9660 | |
| parent | 5c83b5551cb5198b77bae2dcf6ddd60ebffe40b9 (diff) | |
Notes
Diffstat (limited to 'sys/fs/cd9660')
| -rw-r--r-- | sys/fs/cd9660/cd9660_vfsops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index c944b5a9df03..852a1a3049a6 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -153,10 +153,9 @@ cd9660_mount(struct mount *mp, struct thread *td) if (mp->mnt_flag & MNT_UPDATE) { error = vfs_getopt(mp->mnt_optnew, "export", (void **)&export, &len); - if (error == 0 && len == sizeof *export && export.ex_flags) + if (error == 0 && len == sizeof *export && export->ex_flags) return (vfs_export(mp, export)); } - } /* * Not an update, or updating the name: look up the name * and verify that it refers to a sensible block device. |
