The unified diff between revisions [6676c716..] and [816b792b..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/fs/null/store_null.c'

#
#
# patch "src/fs/null/store_null.c"
#  from [fa5f237c80376f490212dc9b5431584958991925]
#    to [e0f5a054b8726ecf54ca634771f958004fa80433]
#
============================================================
--- src/fs/null/store_null.c	fa5f237c80376f490212dc9b5431584958991925
+++ src/fs/null/store_null.c	e0f5a054b8726ecf54ca634771f958004fa80433
@@ -93,6 +93,15 @@ storeNullDirCheckObj(SwapDir * SD, const
     return -1;
 }

+/*
+ * We should never, in theory, see an open/create, but just in case..
+ */
+static char
+storeNullDirCheckLoadAv(SwapDir *SD, store_op_t op)
+{
+    return 0;
+}
+
 static int
 storeNullDirWriteCleanStart(SwapDir * unused)
 {
@@ -113,6 +122,7 @@ storeNullDirParse(SwapDir * sd, int inde
     sd->statfs = storeNullDirStats;
     sd->init = storeNullDirInit;
     sd->checkobj = storeNullDirCheckObj;
+    sd->checkload = storeNullDirCheckLoadAv;
     sd->log.clean.start = storeNullDirWriteCleanStart;
     sd->log.clean.done = storeNullDirWriteCleanDone;
     parse_cachedir_options(sd, NULL, 0);