aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/f2fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index 2d720ca47071..89b7675dc377 100644
--- a/fs/f2fs/namei.c
+++ b/fs/f2fs/namei.c
@@ -293,7 +293,7 @@ static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
293 inode->i_op = &f2fs_dir_inode_operations; 293 inode->i_op = &f2fs_dir_inode_operations;
294 inode->i_fop = &f2fs_dir_operations; 294 inode->i_fop = &f2fs_dir_operations;
295 inode->i_mapping->a_ops = &f2fs_dblock_aops; 295 inode->i_mapping->a_ops = &f2fs_dblock_aops;
296 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS | __GFP_ZERO); 296 mapping_set_gfp_mask(inode->i_mapping, GFP_F2FS_ZERO);
297 297
298 set_inode_flag(F2FS_I(inode), FI_INC_LINK); 298 set_inode_flag(F2FS_I(inode), FI_INC_LINK);
299 err = f2fs_add_link(dentry, inode); 299 err = f2fs_add_link(dentry, inode);