Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377672
b: refs/heads/master
c: 6f85b35
h: refs/heads/master
v: v3
  • Loading branch information
Jaegeuk Kim committed May 28, 2013
1 parent bdf3099 commit 8f64e79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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: 2c2c149f7dabd5a4d41cae5d2c2ce1d130acf72c
refs/heads/master: 6f85b3520325a67ee4ac33e75bbcdbc25c79ce69
4 changes: 2 additions & 2 deletions trunk/fs/f2fs/data.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ struct page *find_data_page(struct inode *inode, pgoff_t index, bool sync)
if (dn.data_blkaddr == NEW_ADDR)
return ERR_PTR(-EINVAL);

page = grab_cache_page(mapping, index);
page = grab_cache_page_write_begin(mapping, index, AOP_FLAG_NOFS);
if (!page)
return ERR_PTR(-ENOMEM);

Expand Down Expand Up @@ -234,7 +234,7 @@ struct page *get_lock_data_page(struct inode *inode, pgoff_t index)
int err;

repeat:
page = grab_cache_page(mapping, index);
page = grab_cache_page_write_begin(mapping, index, AOP_FLAG_NOFS);
if (!page)
return ERR_PTR(-ENOMEM);

Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/f2fs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ struct inode *f2fs_iget(struct super_block *sb, unsigned long ino)
inode->i_op = &f2fs_dir_inode_operations;
inode->i_fop = &f2fs_dir_operations;
inode->i_mapping->a_ops = &f2fs_dblock_aops;
mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER_MOVABLE |
__GFP_ZERO);
mapping_set_gfp_mask(inode->i_mapping, GFP_F2FS_ZERO);
} else if (S_ISLNK(inode->i_mode)) {
inode->i_op = &f2fs_symlink_inode_operations;
inode->i_mapping->a_ops = &f2fs_dblock_aops;
Expand Down

0 comments on commit 8f64e79

Please sign in to comment.