Skip to content

Commit

Permalink
Merge branch 'for-linus-4.1' of git://git.kernel.org/pub/scm/linux/ke…
Browse files Browse the repository at this point in the history
…rnel/git/mason/linux-btrfs

Pull btrfs fix from Chris Mason:
 "When an arm user reported crashes near page_address(page) in my new
  code, it became clear that I can't be trusted with GFP masks.  Filipe
  beat me to the patch, and I'll just be in the corner with my dunce cap
  on"

* 'for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
  Btrfs: fix wrong mapping flags for free space inode
  • Loading branch information
torvalds committed May 9, 2015
2 parents 5d5df5e + 1d3c61c commit af64728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static struct inode *__lookup_free_space_inode(struct btrfs_root *root,

mapping_set_gfp_mask(inode->i_mapping,
mapping_gfp_mask(inode->i_mapping) &
~(GFP_NOFS & ~__GFP_HIGHMEM));
~(__GFP_FS | __GFP_HIGHMEM));

return inode;
}
Expand Down

0 comments on commit af64728

Please sign in to comment.