summaryrefslogtreecommitdiff
path: root/pkg/sshfs/patch/0001-Add-nocache.c-stub.patch
blob: b5737719d58c4d5a696a8078aa0457e5eb6dabc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 243d834a3d6b665bbc935278908d445f39a69100 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 5 Jun 2016 17:13:58 -0700
Subject: [PATCH] Add nocache.c stub

---
 nocache.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 nocache.c

diff --git a/nocache.c b/nocache.c
new file mode 100644
index 0000000..7c2833e
--- /dev/null
+++ b/nocache.c
@@ -0,0 +1,24 @@
+#include "cache.h"
+
+void cache_invalidate(const char *path)
+{
+}
+
+void cache_add_attr(const char *path, const struct stat *stbuf, uint64_t wrctr)
+{
+}
+
+uint64_t cache_get_write_ctr(void)
+{
+	return 0;
+}
+
+struct fuse_operations *cache_wrap(struct fuse_operations *oper)
+{
+	return oper;
+}
+
+int cache_parse_options(struct fuse_args *args)
+{
+	return 0;
+}
-- 
2.13.2