From 59a842b9cebf22899c54546b2a75ee6100f7b979 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 16 Aug 2007 16:49:11 +1000 Subject: [PATCH] --- yaml --- r: 64719 b: refs/heads/master c: 5995cb7d805496362e5af73235145667096fbc6f h: refs/heads/master i: 64717: f21eb1af1190bfdd7c314d5f8e18ab65b15bdf9a 64715: c7495546f4a736aea06e99297782a8c3224948af 64711: 6fdc69d89f03c052b86539952e37adf4d622462f 64703: 3cbfc51476a10178f35ca61b888fe5624b4537f8 v: v3 --- [refs] | 2 +- trunk/fs/xfs/quota/xfs_qm.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 348c1a30875e..373719a5dbb5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 265c1fac38e37e828df09965406e9cc20bfa3588 +refs/heads/master: 5995cb7d805496362e5af73235145667096fbc6f diff --git a/trunk/fs/xfs/quota/xfs_qm.c b/trunk/fs/xfs/quota/xfs_qm.c index 2d274b23ade5..6ff0f4de1630 100644 --- a/trunk/fs/xfs/quota/xfs_qm.c +++ b/trunk/fs/xfs/quota/xfs_qm.c @@ -120,7 +120,8 @@ xfs_Gqm_init(void) * Initialize the dquot hash tables. */ udqhash = kmem_zalloc_greedy(&hsize, - XFS_QM_HASHSIZE_LOW, XFS_QM_HASHSIZE_HIGH, + XFS_QM_HASHSIZE_LOW * sizeof(xfs_dqhash_t), + XFS_QM_HASHSIZE_HIGH * sizeof(xfs_dqhash_t), KM_SLEEP | KM_MAYFAIL | KM_LARGE); gdqhash = kmem_zalloc(hsize, KM_SLEEP | KM_LARGE); hsize /= sizeof(xfs_dqhash_t);