summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-27 11:56:04 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-07-27 11:56:04 -0400
commita271fe8527fe9637bdd82c97123b1356940dd84b (patch)
tree07a950c18ad1c2391d18272d6154d23c83b71a8e /fs/ext4/mballoc.c
parente5880d76aea443b04e07da19830da0f6f7494eef (diff)
downloadlinux-a271fe8527fe9637bdd82c97123b1356940dd84b.tar.gz
linux-a271fe8527fe9637bdd82c97123b1356940dd84b.tar.bz2
linux-a271fe8527fe9637bdd82c97123b1356940dd84b.zip
ext4: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 8b3b9344a595..84185d215004 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -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);
if (rc == 0) {
- struct seq_file *m = (struct seq_file *)file->private_data;
+ struct seq_file *m = file->private_data;
m->private = sb;
}
return rc;