summaryrefslogtreecommitdiffstats
path: root/kernel/fs/logfs/segment.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/logfs/segment.c')
-rw-r--r--kernel/fs/logfs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/logfs/segment.c b/kernel/fs/logfs/segment.c
index 7f9b096d8..6de0fbfc6 100644
--- a/kernel/fs/logfs/segment.c
+++ b/kernel/fs/logfs/segment.c
@@ -57,7 +57,7 @@ static struct page *get_mapping_page(struct super_block *sb, pgoff_t index,
filler_t *filler = super->s_devops->readpage;
struct page *page;
- BUG_ON(mapping_gfp_mask(mapping) & __GFP_FS);
+ BUG_ON(mapping_gfp_constraint(mapping, __GFP_FS));
if (use_filler)
page = read_cache_page(mapping, index, filler, sb);
else {