mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08: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
@ -478,7 +478,7 @@ static noinline int add_ra_bio_pages(struct inode *inode,
|
|||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
page = alloc_page(mapping_gfp_mask(mapping) | GFP_NOFS);
|
page = alloc_page(mapping_gfp_mask(mapping) & ~__GFP_FS);
|
||||||
if (!page)
|
if (!page)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user