diff options
author | Denis Cheng <crquan@gmail.com> | 2007-08-11 04:27:08 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-10 09:55:17 +0200 |
commit | 2d3ba1ea97d839e60d742ccf9a6de5bf039c0b53 (patch) | |
tree | f38ce5bb0c71a5176d02a99646029ff9c01ad417 | |
parent | [GFS2] use list_for_each_entry instead (diff) | |
download | linux-2d3ba1ea97d839e60d742ccf9a6de5bf039c0b53.tar.xz linux-2d3ba1ea97d839e60d742ccf9a6de5bf039c0b53.zip |
[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.c | 2 |
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; |