diff options
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index c22738cdbf2d..47369d011214 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c | |||
@@ -452,14 +452,12 @@ out: | |||
452 | 452 | ||
453 | static struct inode *gfs2_alloc_inode(struct super_block *sb) | 453 | static struct inode *gfs2_alloc_inode(struct super_block *sb) |
454 | { | 454 | { |
455 | struct gfs2_sbd *sdp = sb->s_fs_info; | ||
456 | struct gfs2_inode *ip; | 455 | struct gfs2_inode *ip; |
457 | 456 | ||
458 | ip = kmem_cache_alloc(gfs2_inode_cachep, GFP_KERNEL); | 457 | ip = kmem_cache_alloc(gfs2_inode_cachep, GFP_KERNEL); |
459 | if (ip) { | 458 | if (ip) { |
460 | ip->i_flags = 0; | 459 | ip->i_flags = 0; |
461 | ip->i_gl = NULL; | 460 | ip->i_gl = NULL; |
462 | ip->i_greedy = gfs2_tune_get(sdp, gt_greedy_default); | ||
463 | ip->i_last_pfault = jiffies; | 461 | ip->i_last_pfault = jiffies; |
464 | } | 462 | } |
465 | return &ip->i_inode; | 463 | return &ip->i_inode; |