projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb4ec1
)
[GFS2] unneeded typecast
author
Denis Cheng
<crquan@gmail.com>
Sat, 11 Aug 2007 02:27:08 +0000
(10:27 +0800)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 10 Oct 2007 07:55:17 +0000
(08:55 +0100)
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>
fs/gfs2/ops_fstype.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/ops_fstype.c
b/fs/gfs2/ops_fstype.c
index 32b2859a89a57fbf2899f2105413deeb1e4dd8dd..25cfab95eb9cd577748f6a43ea73cc0c779e522c 100644
(file)
--- 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;