]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9077d98e12b32e796e9f8bda5dfd9bab13e6c6cd
tree4ba192d7507c77bc1bebd20ba6d82fbbe3da5428
parent701651cb89f4550760ae91f4ac1dc24f69ab90d6
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