diff options
Diffstat (limited to 'fs/nilfs2/inode.c')
-rw-r--r-- | fs/nilfs2/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c index 07577cbe668a..8138b1176867 100644 --- a/fs/nilfs2/inode.c +++ b/fs/nilfs2/inode.c | |||
@@ -456,8 +456,6 @@ void nilfs_set_inode_flags(struct inode *inode) | |||
456 | inode->i_flags |= S_NOATIME; | 456 | inode->i_flags |= S_NOATIME; |
457 | if (flags & FS_DIRSYNC_FL) | 457 | if (flags & FS_DIRSYNC_FL) |
458 | inode->i_flags |= S_DIRSYNC; | 458 | inode->i_flags |= S_DIRSYNC; |
459 | mapping_set_gfp_mask(inode->i_mapping, | ||
460 | mapping_gfp_mask(inode->i_mapping) & ~__GFP_FS); | ||
461 | } | 459 | } |
462 | 460 | ||
463 | int nilfs_read_inode_common(struct inode *inode, | 461 | int nilfs_read_inode_common(struct inode *inode, |
@@ -542,6 +540,8 @@ static int __nilfs_read_inode(struct super_block *sb, | |||
542 | brelse(bh); | 540 | brelse(bh); |
543 | up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); | 541 | up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); |
544 | nilfs_set_inode_flags(inode); | 542 | nilfs_set_inode_flags(inode); |
543 | mapping_set_gfp_mask(inode->i_mapping, | ||
544 | mapping_gfp_mask(inode->i_mapping) & ~__GFP_FS); | ||
545 | return 0; | 545 | return 0; |
546 | 546 | ||
547 | failed_unmap: | 547 | failed_unmap: |