aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-04 16:16:45 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-04 16:16:45 -0400
commit5acd3967347dab361d296d39ba19f8241507ef65 (patch)
tree3385eefb13ff86b6515dcbc10b1696e349d346b6 /fs/gfs2/ops_super.c
parent26c1a57412b59a2284a521c711d9e9105bb6ad23 (diff)
downloadkernel_samsung_aries-5acd3967347dab361d296d39ba19f8241507ef65.zip
kernel_samsung_aries-5acd3967347dab361d296d39ba19f8241507ef65.tar.gz
kernel_samsung_aries-5acd3967347dab361d296d39ba19f8241507ef65.tar.bz2
[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.c6
1 files changed, 2 insertions, 4 deletions
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 @@ static void gfs2_put_super(struct super_block *sb)
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 @@ static void gfs2_put_super(struct super_block *sb)
/* 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_put_super(struct super_block *sb)
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);
}
/**