[GFS2] Directory code style changes
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 5 Sep 2006 13:34:20 +0000 (09:34 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 5 Sep 2006 13:34:20 +0000 (09:34 -0400)
commit2bdbc5d73961c040fdc9b30d985fab3047d697a0
tree6f14365f7643c9b8e408f0c60e36afb18972e59b
parent5acd3967347dab361d296d39ba19f8241507ef65
[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>
fs/gfs2/dir.c
fs/gfs2/dir.h
fs/gfs2/ops_super.c