diff options
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 1f66a07..a494401 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -327,6 +327,13 @@ bad: /* * Merge the old mount options with the new ones passed * in the MNT_UPDATE case. + * + * XXX This function will keep a "nofoo" option in the + * new options if there is no matching "foo" option + * to be cancelled in the old options. This is a bug + * if the option's canonical name is "foo". E.g., "noro" + * shouldn't end up in the mount point's active options, + * but it can. */ static void vfs_mergeopts(struct vfsoptlist *toopts, struct vfsoptlist *opts) |