[PATCH 6/10] squashfs: remove one cast
From: Jörn Engel
Date: Fri Apr 22 2005 - 02:24:46 EST
Jörn
--
/* Keep these two variables together */
int bar;
Signed-off-by: Jörn Engel <joern@xxxxxxxxxxxxxxxxxxxx>
---
fs/squashfs/inode.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.12-rc3cow/fs/squashfs/inode.c~squashfs_cu7 2005-04-22 07:25:24.146150184 +0200
+++ linux-2.6.12-rc3cow/fs/squashfs/inode.c 2005-04-22 09:17:43.831562264 +0200
@@ -1050,7 +1050,8 @@ failed_mount:
static int squashfs_statfs(struct super_block *s, struct kstatfs *buf)
{
- squashfs_super_block *sBlk = &((squashfs_sb_info *)s->s_fs_info)->sBlk;
+ squashfs_sb_info *sb = s->s_fs_info;
+ squashfs_super_block *sBlk = &sb->sBlk;
TRACE("Entered squashfs_statfs\n");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/