summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2007-08-11 10:27:08 +0800
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 08:55:17 +0100
commit2d3ba1ea97d839e60d742ccf9a6de5bf039c0b53 (patch)
treef38ce5bb0c71a5176d02a99646029ff9c01ad417 /fs/gfs2
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>
Diffstat (limited to 'fs/gfs2')
-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,
error = -ENOENT;
goto error;
}
- sdp = (struct gfs2_sbd*) sb->s_fs_info;
+ sdp = sb->s_fs_info;
if (sdp->sd_vfs_meta) {
printk(KERN_WARNING "GFS2: gfs2meta mount already exists\n");
error = -EBUSY;