diff options
Diffstat (limited to 'fs/squashfs/super.c')
-rw-r--r-- | fs/squashfs/super.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c index e2b7b8d5a1..2e34c0e540 100644 --- a/fs/squashfs/super.c +++ b/fs/squashfs/super.c @@ -83,7 +83,6 @@ void squashfs_put_super(struct super_block *sb) } if (sb->s_root) { - kfree(squashfs_i(sb->s_root->d_inode)); kfree(sb->s_root); sb->s_root = NULL; } @@ -92,7 +91,7 @@ void squashfs_put_super(struct super_block *sb) static int squashfs_fill_super(struct super_block *sb, void *data, int silent) { struct squashfs_sb_info *msblk; - struct fs_device_d *fsdev = (struct fs_device_d *)data; + struct fs_device *fsdev = (struct fs_device *)data; struct squashfs_super_block *sblk = NULL; struct inode *root; long long root_inode; @@ -322,7 +321,7 @@ failed_mount: } -int squashfs_mount(struct fs_device_d *fsdev, int silent) +int squashfs_mount(struct fs_device *fsdev, int silent) { struct super_block *sb = &fsdev->sb; |