aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-08-10 22:27:08 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 03:55:17 -0400
commit2d3ba1ea97d839e60d742ccf9a6de5bf039c0b53 (patch)
treef38ce5bb0c71a5176d02a99646029ff9c01ad417
parentadb4ec13cdddb6ab8280e4c7808ba30f46504e1d (diff)
[GFS2] unneeded typecast
sb->s_fs_info is a void pointer, thus the type cast is not needed. Signed-off-by: Denis Cheng <crquan@gmail.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r--fs/gfs2/ops_fstype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 32b2859a89a5..25cfab95eb9c 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -849,7 +849,7 @@ static int gfs2_get_sb_meta(struct file_system_type *fs_type, int flags,
849 error = -ENOENT; 849 error = -ENOENT;
850 goto error; 850 goto error;
851 } 851 }
852 sdp = (struct gfs2_sbd*) sb->s_fs_info; 852 sdp = sb->s_fs_info;
853 if (sdp->sd_vfs_meta) { 853 if (sdp->sd_vfs_meta) {
854 printk(KERN_WARNING "GFS2: gfs2meta mount already exists\n"); 854 printk(KERN_WARNING "GFS2: gfs2meta mount already exists\n");
855 error = -EBUSY; 855 error = -EBUSY;