X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_itable.c;h=084b3e1741fd0346cac1d8279ed8085553ee7486;hb=448c3f6884700fc467669d4453b7f5983a5ba1cb;hp=b93e14b86754a6cf6b12e4e9952e911e10a008ad;hpb=eeca9fad52fc4bfdf42c38bfcf383e932eb3e9d6;p=~andy%2Flinux diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index b93e14b8675..084b3e1741f 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c @@ -495,7 +495,7 @@ xfs_bulkstat( /* * Done, we're either out of filesystem or space to put the data. */ - kmem_free_large(irbuf); + kmem_free(irbuf); *ubcountp = ubelem; /* * Found some inodes, return them now and return the error next time. @@ -541,8 +541,9 @@ xfs_bulkstat_single( * at the expense of the error case. */ - ino = (xfs_ino_t)*lastinop; - error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t), 0, &res); + ino = *lastinop; + error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t), + NULL, &res); if (error) { /* * Special case way failed, do it the "long" way