Btrfs: use find_or_create_page instead of grab_cache_page
authorJosef Bacik <josef@redhat.com>
Mon, 11 Jul 2011 14:47:06 +0000 (10:47 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 27 Jul 2011 16:46:43 +0000 (12:46 -0400)
grab_cache_page will use mapping_gfp_mask(), which for all inodes is set to
GFP_HIGHUSER_MOVABLE.  So instead use find_or_create_page in all cases where we
need GFP_NOFS so we don't deadlock.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>

No differences found