Whamcloud - gitweb
LU-13134 clio: cl_page index compaction
[fs/lustre-release.git] / lustre / llite / vvp_internal.h
index 3062208..ce123d3 100644 (file)
@@ -245,7 +245,7 @@ static inline struct vvp_page *cl2vvp_page(const struct cl_page_slice *slice)
 
 static inline pgoff_t vvp_index(struct vvp_page *vpg)
 {
-       return vpg->vpg_cl.cpl_index;
+       return vpg->vpg_page->index;
 }
 
 struct vvp_device {