Merge branch 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / fs / sysv / super.c
index 89765ddfb738c075b44003e0e1dfeea414d24c7f..d3b2f54d6449cfb4fcd39bbfea31d262449ac2f2 100644 (file)
@@ -312,7 +312,6 @@ static int complete_read_super(struct super_block *sb, int silent, int size)
 
        flavour_setup[sbi->s_type](sbi, &sb->s_max_links);
        
-       sbi->s_truncate = 1;
        sbi->s_ndatazones = sbi->s_nzones - sbi->s_firstdatazone;
        sbi->s_inodes_per_block = bsize >> 6;
        sbi->s_inodes_per_block_1 = (bsize >> 6)-1;
@@ -334,8 +333,6 @@ static int complete_read_super(struct super_block *sb, int silent, int size)
        sb->s_op = &sysv_sops;
        if (sbi->s_forced_ro)
                sb->s_flags |= SB_RDONLY;
-       if (sbi->s_truncate)
-               sb->s_d_op = &sysv_dentry_operations;
        root_inode = sysv_iget(sb, SYSV_ROOT_INO);
        if (IS_ERR(root_inode)) {
                printk("SysV FS: get root inode failed\n");