[GFS2] Simplify glops functions
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 20 Nov 2006 15:37:45 +0000 (10:37 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:36:30 +0000 (10:36 -0500)
commit1a14d3a68f04527546121eb7b45187ff6af63151
tree7bc48436f7c6aad5433398311b67a10661e2633d
parentfa2ecfc5e11b12f25b67f9c84ac6b0e74a6a0115
[GFS2] Simplify glops functions

The go_sync callback took two flags, but one of them was set on every
call, so this patch removes once of the flags and makes the previously
conditional operations (on this flag), unconditional.

The go_inval callback took three flags, each of which was set on every
call to it. This patch removes the flags and makes the operations
unconditional, which makes the logic rather more obvious.

Two now unused flags are also removed from incore.h.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/super.c