Btrfs: Avoid using __GFP_HIGHMEM with slab allocator
authorYan Zheng <zheng.yan@oracle.com>
Thu, 12 Feb 2009 15:06:04 +0000 (10:06 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 12 Feb 2009 15:06:04 +0000 (10:06 -0500)
commitb335b0034e252e79ec2e9c6697f5d663c4627bec
treef99286083d21fdc298b50d3d47dc96a9f1f54bb8
parente1df36d2f18254d0690a0fbe036cece74ec311b8
Btrfs: Avoid using __GFP_HIGHMEM with slab allocator

btrfs_releasepage may call kmem_cache_alloc indirectly,
and provide same GFP flags it gets to kmem_cache_alloc.
So it's possible to use __GFP_HIGHMEM with the slab
allocator.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/inode.c