aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-05 09:34:20 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-05 09:34:20 -0400
commit2bdbc5d73961c040fdc9b30d985fab3047d697a0 (patch)
tree6f14365f7643c9b8e408f0c60e36afb18972e59b /fs/gfs2/ops_super.c
parent5acd3967347dab361d296d39ba19f8241507ef65 (diff)
[GFS2] Directory code style changes
As per comments from Jan Engelhardt, remove redundant casts, redundant endian conversions, add a smattering of const and rewrite the dirent_next function in order to avoid as many casts as possible. 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 820db9333bd..addcf1334b3 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -190,8 +190,7 @@ static void gfs2_write_super_lockfs(struct super_block *sb)
static void gfs2_unlockfs(struct super_block *sb)
{
- struct gfs2_sbd *sdp = sb->s_fs_info;
- gfs2_unfreeze_fs(sdp);
+ gfs2_unfreeze_fs(sb->s_fs_info);
}
/**