summaryrefslogtreecommitdiff
path: root/src/basic/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/util.c')
-rw-r--r--src/basic/util.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index 62d58c13fd..da7de27a04 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -125,29 +125,6 @@ size_t page_size(void) {
return pgsz;
}
-bool fstype_is_network(const char *fstype) {
- static const char table[] =
- "afs\0"
- "cifs\0"
- "smbfs\0"
- "sshfs\0"
- "ncpfs\0"
- "ncp\0"
- "nfs\0"
- "nfs4\0"
- "gfs\0"
- "gfs2\0"
- "glusterfs\0";
-
- const char *x;
-
- x = startswith(fstype, "fuse.");
- if (x)
- fstype = x;
-
- return nulstr_contains(table, fstype);
-}
-
void rename_process(const char name[8]) {
assert(name);