logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Add-nocache.c-stub.patch (808B)


  1. From 243d834a3d6b665bbc935278908d445f39a69100 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sun, 5 Jun 2016 17:13:58 -0700
  4. Subject: [PATCH] Add nocache.c stub
  5. ---
  6. nocache.c | 24 ++++++++++++++++++++++++
  7. 1 file changed, 24 insertions(+)
  8. create mode 100644 nocache.c
  9. diff --git a/nocache.c b/nocache.c
  10. new file mode 100644
  11. index 0000000..7c2833e
  12. --- /dev/null
  13. +++ b/nocache.c
  14. @@ -0,0 +1,24 @@
  15. +#include "cache.h"
  16. +
  17. +void cache_invalidate(const char *path)
  18. +{
  19. +}
  20. +
  21. +void cache_add_attr(const char *path, const struct stat *stbuf, uint64_t wrctr)
  22. +{
  23. +}
  24. +
  25. +uint64_t cache_get_write_ctr(void)
  26. +{
  27. + return 0;
  28. +}
  29. +
  30. +struct fuse_operations *cache_wrap(struct fuse_operations *oper)
  31. +{
  32. + return oper;
  33. +}
  34. +
  35. +int cache_parse_options(struct fuse_args *args)
  36. +{
  37. + return 0;
  38. +}
  39. --
  40. 2.13.2