Whamcloud - gitweb
b=24427 another userspace fix for libcfs_memory_pressure_restore()
authorJohann Lombardi <johann.lombardi@oracle.com>
Fri, 28 Jan 2011 08:33:08 +0000 (09:33 +0100)
committerJohann Lombardi <johann.lombardi@oracle.com>
Fri, 28 Jan 2011 08:33:08 +0000 (09:33 +0100)
lustre/include/liblustre.h

index 1fb9110..ac6dafb 100644 (file)
@@ -752,7 +752,7 @@ typedef struct { volatile int counter; } atomic_t;
 #define libcfs_memory_pressure_set() do {} while (0) 
 #define libcfs_memory_pressure_clr() do {} while (0)
 #define libcfs_memory_pressure_get_and_set() do {} while (0)
-#define libcfs_memory_pressure_restore() do {} while (0)
+#define libcfs_memory_pressure_restore(old) do {} while (0)
 
 /* FIXME sys/capability will finally included linux/fs.h thus
  * cause numerous trouble on x86-64. as temporary solution for