]> Pileus Git - ~andy/linux/blobdiff - fs/gfs2/ops_super.c
[GFS2] Unlock page on prepare_write try lock failure
[~andy/linux] / fs / gfs2 / ops_super.c
index c22738cdbf2dc2a18c8adc6e49fddcda1b2d8d11..47369d0112147d8c7fb814234bf2f4cd9bdd80e4 100644 (file)
@@ -452,14 +452,12 @@ out:
 
 static struct inode *gfs2_alloc_inode(struct super_block *sb)
 {
-       struct gfs2_sbd *sdp = sb->s_fs_info;
        struct gfs2_inode *ip;
 
        ip = kmem_cache_alloc(gfs2_inode_cachep, GFP_KERNEL);
        if (ip) {
                ip->i_flags = 0;
                ip->i_gl = NULL;
-               ip->i_greedy = gfs2_tune_get(sdp, gt_greedy_default);
                ip->i_last_pfault = jiffies;
        }
        return &ip->i_inode;