Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243546
b: refs/heads/master
c: d611b22
h: refs/heads/master
v: v3
  • Loading branch information
Ryusuke Konishi committed Mar 30, 2011
1 parent f07829d commit e764339
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34094537943113467faee98fe67c8a3d3f9a0a8b
refs/heads/master: d611b22f1a5ddd0823e9d6a30bac91219f800e41
4 changes: 3 additions & 1 deletion trunk/fs/nilfs2/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,12 +495,14 @@ unsigned nilfs_page_count_clean_buffers(struct page *page,
void nilfs_mapping_init(struct address_space *mapping,
struct backing_dev_info *bdi)
{
static const struct address_space_operations empty_aops;

mapping->host = NULL;
mapping->flags = 0;
mapping_set_gfp_mask(mapping, GFP_NOFS);
mapping->assoc_mapping = NULL;
mapping->backing_dev_info = bdi;
mapping->a_ops = NULL;
mapping->a_ops = &empty_aops;
}

/*
Expand Down

0 comments on commit e764339

Please sign in to comment.