aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-03-10 06:13:31 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 05:41:33 -0400
commit860b25d4a913a00331d333f8e207a088c7a1b84a (patch)
treea08771cae65f1d829db28735f0d96eb1b18f1653 /fs/gfs2
parent20b95bf2c4c5c28e093aa42699e67829b6cd7fd0 (diff)
[GFS2] Remove drop of module ref where not needed
In an earlier patch "[GFS2] fix file_system_type leak on gfs2meta mount" we removed the code to grab a ref to the module which was not needed (since we know that the module cannot be unloaded at that time) so this patch removes the code to drop that reference. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_fstype.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 63d5fd203d3f..5b518f73497a 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -998,7 +998,6 @@ static int gfs2_get_sb_meta(struct file_system_type *fs_type, int flags,
998 error = PTR_ERR(new); 998 error = PTR_ERR(new);
999 goto error; 999 goto error;
1000 } 1000 }
1001 module_put(fs_type->owner);
1002 new->s_flags = flags; 1001 new->s_flags = flags;
1003 strlcpy(new->s_id, sb->s_id, sizeof(new->s_id)); 1002 strlcpy(new->s_id, sb->s_id, sizeof(new->s_id));
1004 sb_set_blocksize(new, sb->s_blocksize); 1003 sb_set_blocksize(new, sb->s_blocksize);