Re: [PATCH] hugetlbfs: fix i_blocks accounting

From: Andi Kleen
Date: Wed Jul 08 2009 - 17:30:11 EST


> which did:
>
> - inode->i_blocks -= BLOCKS_PER_HUGEPAGE * freed;
> + inode->i_blocks -= blocks_per_huge_page(h);
>
> so just put back the freed multiplier, and it's all happy again.
Thanks looks good. Silly typo.

Acked-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/