mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
Btrfs: fix gfp flags masking in the compression code
GFP_FS must be masked out, NOFS can't be or'd in. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
5ff7ba3a79
commit
ef5780c018
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ static noinline int add_ra_bio_pages(struct inode *inode,
|
|||
goto next;
|
||||
}
|
||||
|
||||
page = alloc_page(mapping_gfp_mask(mapping) | GFP_NOFS);
|
||||
page = alloc_page(mapping_gfp_mask(mapping) & ~__GFP_FS);
|
||||
if (!page)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue