Skip to content

Commit af64728

Browse files
committed
Merge branch 'for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/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
2 parents 5d5df5e + 1d3c61c commit af64728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/btrfs/free-space-cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static struct inode *__lookup_free_space_inode(struct btrfs_root *root,
8686

8787
mapping_set_gfp_mask(inode->i_mapping,
8888
mapping_gfp_mask(inode->i_mapping) &
89-
~(GFP_NOFS & ~__GFP_HIGHMEM));
89+
~(__GFP_FS | __GFP_HIGHMEM));
9090

9191
return inode;
9292
}

0 commit comments

Comments
 (0)