Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef5780c0 authored by Nick Piggin's avatar Nick Piggin Committed by Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 5ff7ba3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;