[XFS] Remove the BPCSHIFT and NB* based macros from XFS.
[firefly-linux-kernel-4.4.55.git] / fs / xfs / quota / xfs_qm.h
index 023400aa55a3d26651bf1efd7304db757a5f249f..baf537c1c177bc4f67caf909d0a1cfbc4e491662 100644 (file)
@@ -52,8 +52,8 @@ extern kmem_zone_t    *qm_dqtrxzone;
 /*
  * Dquot hashtable constants/threshold values.
  */
-#define XFS_QM_HASHSIZE_LOW            (NBPP / sizeof(xfs_dqhash_t))
-#define XFS_QM_HASHSIZE_HIGH           ((NBPP * 4) / sizeof(xfs_dqhash_t))
+#define XFS_QM_HASHSIZE_LOW            (PAGE_SIZE / sizeof(xfs_dqhash_t))
+#define XFS_QM_HASHSIZE_HIGH           ((PAGE_SIZE * 4) / sizeof(xfs_dqhash_t))
 
 /*
  * This defines the unit of allocation of dquots.