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
@ -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 New Issue
Block a user