Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175708650
D31287.id92692.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D31287.id92692.diff
View Options
Index: sys/kern/vfs_mount.c
===================================================================
--- sys/kern/vfs_mount.c
+++ sys/kern/vfs_mount.c
@@ -2553,27 +2553,6 @@
MNTOPT_NAMES
};
-static void
-mount_devctl_event_mntopt(struct sbuf *sb, const char *what, struct vfsoptlist *opts)
-{
- struct vfsopt *opt;
-
- if (opts == NULL || TAILQ_EMPTY(opts))
- return;
- sbuf_printf(sb, " %s=\"", what);
- TAILQ_FOREACH(opt, opts, link) {
- if (opt->name[0] == '\0' || (opt->len > 0 && *(char *)opt->value == '\0'))
- continue;
- devctl_safe_quote_sb(sb, opt->name);
- if (opt->len > 0) {
- sbuf_putc(sb, '=');
- devctl_safe_quote_sb(sb, opt->value);
- }
- sbuf_putc(sb, ';');
- }
- sbuf_putc(sb, '"');
-}
-
#define DEVCTL_LEN 1024
static void
mount_devctl_event(const char *type, struct mount *mp, bool donew)
@@ -2606,9 +2585,6 @@
}
}
sbuf_putc(&sb, '"');
- mount_devctl_event_mntopt(&sb, "opt", mp->mnt_opt);
- if (donew)
- mount_devctl_event_mntopt(&sb, "optnew", mp->mnt_optnew);
sbuf_finish(&sb);
if (sbuf_error(&sb) == 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 13, 4:38 PM (1 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40761307
Default Alt Text
D31287.id92692.diff (1 KB)
Attached To
Mode
D31287: devctl: don't publish the mount options
Attached
Detach File
Event Timeline
Log In to Comment