]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/sysv/super.c
fs: dcache reduce branches in lookup path
[mirror_ubuntu-artful-kernel.git] / fs / sysv / super.c
index 3d9c62be0c10ebc051d64951836ba366a3586018..76712aefc4ab12e137207091e412f85f74b50fed 100644 (file)
@@ -346,7 +346,7 @@ static int complete_read_super(struct super_block *sb, int silent, int size)
        if (sbi->s_forced_ro)
                sb->s_flags |= MS_RDONLY;
        if (sbi->s_truncate)
-               sb->s_root->d_op = &sysv_dentry_operations;
+               d_set_d_op(sb->s_root, &sysv_dentry_operations);
        return 1;
 }