First save from editor, *then* commit.

This commit is contained in:
phk 2004-12-07 15:25:36 +00:00
parent a103d64da5
commit 13dc81a40f
2 changed files with 2 additions and 4 deletions

View File

@ -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.

View File

@ -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.