]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/ext4/dir.c
ext4: Remove unnecessary casts of private_data
[mirror_ubuntu-bionic-kernel.git] / fs / ext4 / dir.c
index 62e8af04ed1e62b430b4060aad59ee8492a8dda5..374510f72baaaa02b3f8768ee4b5d8261ab1080c 100644 (file)
@@ -344,7 +344,7 @@ int ext4_htree_store_dirent(struct file *dir_file, __u32 hash,
        struct dir_private_info *info;
        int len;
 
-       info = (struct dir_private_info *) dir_file->private_data;
+       info = dir_file->private_data;
        p = &info->root.rb_node;
 
        /* Create and allocate the fname structure */