diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 16:16:45 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 16:16:45 -0400 |
commit | 5acd3967347dab361d296d39ba19f8241507ef65 (patch) | |
tree | 3385eefb13ff86b6515dcbc10b1696e349d346b6 /fs/gfs2/ops_super.c | |
parent | 26c1a57412b59a2284a521c711d9e9105bb6ad23 (diff) |
[GFS2] Some further style changes
Introduce a couple of new constants which make the NFS filehandle
sizes that GFS2 uses a bit clearer. Also fix one or two minor
issues as per Jan Engelhardt's sixth email.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index 6ced71240379..820db9333bd5 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c | |||
@@ -79,7 +79,7 @@ static void gfs2_put_super(struct super_block *sb) | |||
79 | return; | 79 | return; |
80 | 80 | ||
81 | if (!strncmp(sb->s_type->name, "gfs2meta", 8)) | 81 | if (!strncmp(sb->s_type->name, "gfs2meta", 8)) |
82 | return; /* meta fs. don't do nothin' */ | 82 | return; /* Nothing to do */ |
83 | 83 | ||
84 | /* Unfreeze the filesystem, if we need to */ | 84 | /* Unfreeze the filesystem, if we need to */ |
85 | 85 | ||
@@ -136,7 +136,6 @@ static void gfs2_put_super(struct super_block *sb) | |||
136 | /* At this point, we're through participating in the lockspace */ | 136 | /* At this point, we're through participating in the lockspace */ |
137 | gfs2_sys_fs_del(sdp); | 137 | gfs2_sys_fs_del(sdp); |
138 | vfree(sdp); | 138 | vfree(sdp); |
139 | sb->s_fs_info = NULL; | ||
140 | } | 139 | } |
141 | 140 | ||
142 | /** | 141 | /** |
@@ -149,8 +148,7 @@ static void gfs2_put_super(struct super_block *sb) | |||
149 | 148 | ||
150 | static void gfs2_write_super(struct super_block *sb) | 149 | static void gfs2_write_super(struct super_block *sb) |
151 | { | 150 | { |
152 | struct gfs2_sbd *sdp = sb->s_fs_info; | 151 | gfs2_log_flush(sb->s_fs_info, NULL); |
153 | gfs2_log_flush(sdp, NULL); | ||
154 | } | 152 | } |
155 | 153 | ||
156 | /** | 154 | /** |