ocfs2: Consolidate validation of group descriptors.
authorJoel Becker <joel.becker@oracle.com>
Thu, 13 Nov 2008 22:49:13 +0000 (14:49 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:53 +0000 (08:36 -0800)
commit57e3e7971136003c96766346049aa73b82cab079
tree4ba192d7507c77bc1bebd20ba6d82fbbe3da5428
parent10995aa2451afa20b721cc7de856cae1a13dba57
ocfs2: Consolidate validation of group descriptors.

Currently the validation of group descriptors is directly duplicated so
that one version can error the filesystem and the other (resize) can
just report the problem.  Consolidate to one function that takes a
boolean.  Wrap that function with the old call for the old users.

This is in preparation for lifting the read+validate step into a
single function.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/resize.c
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h