summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2010-03-15 11:05:29 -0400
committerChris Mason <chris.mason@oracle.com>2010-03-15 11:05:57 -0400
commitef5780c018ed169a77b623f87c4ba52faa8ad0fe (patch)
tree4c93fbaa09ed4b2f4b9713ae462646d149be8550 /fs/btrfs/compression.c
parent5ff7ba3a797a8ffd5299b8477df2dca3c3ebd34e (diff)
downloadop-kernel-dev-ef5780c018ed169a77b623f87c4ba52faa8ad0fe.zip
op-kernel-dev-ef5780c018ed169a77b623f87c4ba52faa8ad0fe.tar.gz
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>
Diffstat (limited to 'fs/btrfs/compression.c')
-rw-r--r--fs/btrfs/compression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
index a11a320..28b92a7 100644
--- a/fs/btrfs/compression.c
+++ b/fs/btrfs/compression.c
@@ -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;
OpenPOWER on IntegriCloud