diff options
author | Alan Somers <asomers@FreeBSD.org> | 2019-03-20 21:48:43 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2019-03-20 21:48:43 +0000 |
commit | 123af6ec70016f5556da5972d4d63c7d175c06d3 (patch) | |
tree | 1ce60a2e1b3c3e83196ac109ed97ab663d2fb5a0 /lib/libjail | |
parent | c3e6b9d390489e2b8ecba74f4732438c31806d22 (diff) | |
download | src-test-123af6ec70016f5556da5972d4d63c7d175c06d3.tar.gz src-test-123af6ec70016f5556da5972d4d63c7d175c06d3.zip |
Rename fuse(4) to fusefs(4)
This makes it more consistent with other filesystems, which all end in "fs",
and more consistent with its mount helper, which is already named
"mount_fusefs".
Reviewed by: cem, rgrimes
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19649
Notes
Notes:
svn path=/head/; revision=345350
Diffstat (limited to 'lib/libjail')
-rw-r--r-- | lib/libjail/jail.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libjail/jail.c b/lib/libjail/jail.c index dc7fdf1479bd6..ad05f5273f2c8 100644 --- a/lib/libjail/jail.c +++ b/lib/libjail/jail.c @@ -1050,14 +1050,8 @@ kldload_param(const char *name) kl = kldload(name); else if (strncmp(name, "allow.mount.", 12) == 0) { /* Load the matching filesystem */ - const char *modname; + const char *modname = name + 12; - if (strcmp("fusefs", name + 12) == 0 || - strcmp("nofusefs", name + 12) == 0) { - modname = "fuse"; - } else { - modname = name + 12; - } kl = kldload(modname); if (kl < 0 && errno == ENOENT && strncmp(modname, "no", 2) == 0) |