Whamcloud - gitweb
LU-8560 libcfs: handle PAGE_CACHE_* removal in newer kernels
[fs/lustre-release.git] / lustre / include / lu_object.h
index e8e4cf4..9eaba1d 100644 (file)
@@ -1149,7 +1149,7 @@ struct lu_context_key {
         {                                                         \
                 type *value;                                      \
                                                                   \
-               CLASSERT(PAGE_CACHE_SIZE >= sizeof (*value));       \
+               CLASSERT(PAGE_SIZE >= sizeof(*value));            \
                                                                   \
                 OBD_ALLOC_PTR(value);                             \
                 if (value == NULL)                                \