]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Clean up of glops.c
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Mar 2009 09:03:51 +0000 (09:03 +0000)
committerSteven Whitehouse <steve@dolmen.chygwyn.com>
Tue, 24 Mar 2009 11:21:27 +0000 (11:21 +0000)
commit2051458db920ecb49dd1e70d2fdf9e986bed28aa
tree8cf9bb9fa54767c6207bc7f72d75364c290702d9
parent2c13e40429967ce7728e70c096128c7dc17fb395
GFS2: Clean up of glops.c

This cleans up a number of bits of code mostly based in glops.c.
A couple of simple functions have been merged into the callers
to make it more obvious what is going on, the mysterious raising
of i_writecount around the truncate_inode_pages() call has been
removed. The meta_go_* operations have been renamed rgrp_go_*
since that is the only lock type that they are used with.

The unused argument of gfs2_read_sb has been removed. Also
a bug has been fixed where a check for the rindex inode was
in the wrong callback. More comments are added, and the
debugging code is improved too.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glops.c
fs/gfs2/meta_io.c
fs/gfs2/meta_io.h
fs/gfs2/ops_file.c
fs/gfs2/ops_fstype.c