MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vfs_deleteopt

Function vfs_deleteopt

freebsd/kern/vfs_mount.c:188–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void
189vfs_deleteopt(struct vfsoptlist *opts, const char *name)
190{
191 struct vfsopt *opt, *temp;
192
193 if (opts == NULL)
194 return;
195 TAILQ_FOREACH_SAFE(opt, opts, link, temp) {
196 if (strcmp(opt->name, name) == 0)
197 vfs_freeopt(opts, opt);
198 }
199}
200
201static int
202vfs_isopt_ro(const char *opt)

Callers 2

vfs_clearmntoptFunction · 0.85
vfs_exportFunction · 0.85

Calls 2

strcmpFunction · 0.85
vfs_freeoptFunction · 0.85

Tested by

no test coverage detected