Commit a271fe85 authored by Joe Perches's avatar Joe Perches Committed by Theodore Ts'o

ext4: Remove unnecessary casts of private_data

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent e5880d76
...@@ -344,7 +344,7 @@ int ext4_htree_store_dirent(struct file *dir_file, __u32 hash, ...@@ -344,7 +344,7 @@ int ext4_htree_store_dirent(struct file *dir_file, __u32 hash,
struct dir_private_info *info; struct dir_private_info *info;
int len; int len;
info = (struct dir_private_info *) dir_file->private_data; info = dir_file->private_data;
p = &info->root.rb_node; p = &info->root.rb_node;
/* Create and allocate the fname structure */ /* Create and allocate the fname structure */
......
...@@ -2219,7 +2219,7 @@ static int ext4_mb_seq_groups_open(struct inode *inode, struct file *file) ...@@ -2219,7 +2219,7 @@ static int ext4_mb_seq_groups_open(struct inode *inode, struct file *file)
rc = seq_open(file, &ext4_mb_seq_groups_ops); rc = seq_open(file, &ext4_mb_seq_groups_ops);
if (rc == 0) { if (rc == 0) {
struct seq_file *m = (struct seq_file *)file->private_data; struct seq_file *m = file->private_data;
m->private = sb; m->private = sb;
} }
return rc; return rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment