Whamcloud - gitweb
LU-8560 libcfs: handle PAGE_CACHE_* removal in newer kernels
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index 25f5083..d485cc2 100644 (file)
@@ -2283,7 +2283,7 @@ static int lmv_read_striped_page(struct obd_export *exp,
        dp->ldp_flags |= LDF_COLLIDE;
 
        area = dp + 1;
-       left_bytes = PAGE_CACHE_SIZE - sizeof(*dp);
+       left_bytes = PAGE_SIZE - sizeof(*dp);
        ent = area;
        last_ent = ent;
        do {