Skip to content

Commit

Permalink
fix(core/fs): do not import non-existent plugin.h header.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP committed May 1, 2022
1 parent 4e996ce commit bec233b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/core/fs/fs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "poll.h"
#include "fs.h"
#include "public/module/plugin.h"
#include "public/module/fs.h"

#define FUSE_USE_VERSION 35
Expand Down Expand Up @@ -228,7 +227,7 @@ static int fs_utimens(const char *path, const struct timespec tv[2], struct fuse
static int fs_create(const char *path, mode_t mode, struct fuse_file_info *fi) {
if (str_not_empty(path)) {
FS_CTX();
return m_plugin_load(path + 1, c, NULL, 0);
return m_mod_register(path + 1, c, NULL, NULL, 0, NULL);
}
return -ENOENT;
}
Expand Down

0 comments on commit bec233b

Please sign in to comment.