Re: [patch] btrfs: fix gfp flags masking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 16, 2010 at 02:00:16AM +1100, Nick Piggin wrote:
> Signed-off-by: Nick Piggin <npiggin@xxxxxxx>
> --
> Index: linux-2.6/fs/btrfs/compression.c
> ===================================================================
> --- linux-2.6.orig/fs/btrfs/compression.c
> +++ linux-2.6/fs/btrfs/compression.c
> @@ -478,7 +478,7 @@ static noinline int add_ra_bio_pages(str
>  			goto next;
>  		}
>  
> -		page = alloc_page(mapping_gfp_mask(mapping) | GFP_NOFS);
> +		page = alloc_page(mapping_gfp_mask(mapping) & ~__GFP_FS);
>  		if (!page)
>  			break;

Thanks Nick, this will be in the next pull.

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux