summaryrefslogtreecommitdiff
path: root/src/user/lib/include
diff options
context:
space:
mode:
authordzwdz2023-08-10 00:07:35 +0200
committerdzwdz2023-08-10 00:07:35 +0200
commitfe2767219e22eda853cb1ad30c44c49afc1bed66 (patch)
tree251531bc8cef34b8d7c31d421ba3a0ba9020198c /src/user/lib/include
parent6126525ed2ad3fb2543c43dbca6b01106af02180 (diff)
user/fs: no longer inject MOUNT_ATs by default
arguably the wrong choice from an usability standpoint, but the right choice from a performance standpoint. there's definitely a nicer way to do this
Diffstat (limited to 'src/user/lib/include')
-rw-r--r--src/user/lib/include/camellia/fs/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/include/camellia/fs/misc.h b/src/user/lib/include/camellia/fs/misc.h
index 92679e9..0b2a018 100644
--- a/src/user/lib/include/camellia/fs/misc.h
+++ b/src/user/lib/include/camellia/fs/misc.h
@@ -13,7 +13,7 @@ void fs_union(const char **list);
void fs_dirinject(const char *path);
void fs_dirinject2(const char *injects[]);
-bool mount_at_pred(const char *path);
+bool mount_at(const char *path);
// TODO separate fs drivers and wrappers around syscalls
@@ -21,4 +21,4 @@ bool mount_at_pred(const char *path);
hid_t ufs_wait(char *buf, size_t len, struct ufs_request *req);
/** Mounts something and injects its path into the fs */
-#define MOUNT_AT(path) for (; mount_at_pred(path); exit(1))
+#define MOUNT_AT(path) for (; mount_at(path); exit(1))