Whamcloud - gitweb
LU-12518 llite: proper names/types for offset/pages
[fs/lustre-release.git] / lustre / obdclass / integrity.c
index 1d15cd5..e6528f1 100644 (file)
@@ -230,7 +230,7 @@ static void obd_t10_performance_test(const char *obd_name,
        for (start = jiffies, end = start + cfs_time_seconds(1) / 4,
             bcount = 0; time_before(jiffies, end) && rc == 0; bcount++) {
                rc = __obd_t10_performance_test(obd_name, cksum_type, page,
-                                               buf_len / PAGE_SIZE);
+                                               buf_len >> PAGE_SHIFT);
                if (rc)
                        break;
        }