[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>
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 6ced712..820db93 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -79,7 +79,7 @@
return;
if (!strncmp(sb->s_type->name, "gfs2meta", 8))
- return; /* meta fs. don't do nothin' */
+ return; /* Nothing to do */
/* Unfreeze the filesystem, if we need to */
@@ -136,7 +136,6 @@
/* At this point, we're through participating in the lockspace */
gfs2_sys_fs_del(sdp);
vfree(sdp);
- sb->s_fs_info = NULL;
}
/**
@@ -149,8 +148,7 @@
static void gfs2_write_super(struct super_block *sb)
{
- struct gfs2_sbd *sdp = sb->s_fs_info;
- gfs2_log_flush(sdp, NULL);
+ gfs2_log_flush(sb->s_fs_info, NULL);
}
/**