]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-mmap.c
- buck2obj_alloc() initially allocates no buffers
[libucw.git] / lib / fb-mmap.c
index b6f827751fcf7f8b5152f8694806437c7074c5fb..bbd3a11eacc6e1017bed271b867f933160feefa9 100644 (file)
@@ -160,6 +160,8 @@ bfmm_config(struct fastbuf *f, uns item, int value)
     case BCONFIG_IS_TEMP_FILE:
       FB_MMAP(f)->is_temp_file = value;
       return 0;
+    case BCONFIG_CAN_OVERWRITE:
+      return 0;                                /* cannot use 1, because the pages would become dirty */
     default:
       return -1;
     }