aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--example/passthrough_hp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc
index e5edc1b..ecd8625 100644
--- a/example/passthrough_hp.cc
+++ b/example/passthrough_hp.cc
@@ -967,6 +967,7 @@ static void sfs_create(fuse_req_t req, fuse_ino_t parent, const char *name,
fuse_reply_create(req, &e, fi);
}
+#ifdef O_TMPFILE
static Inode *create_new_inode(int fd, fuse_entry_param *e)
{
memset(e, 0, sizeof(*e));
@@ -1012,7 +1013,6 @@ static Inode *create_new_inode(int fd, fuse_entry_param *e)
return p_inode;
}
-#ifdef O_TMPFILE
static void sfs_tmpfile(fuse_req_t req, fuse_ino_t parent, mode_t mode,
fuse_file_info *fi)
{