[XFS] factor out xfs_read_agf helper
authorFrom: Christoph Hellwig <hch@lst.de>
Fri, 28 Nov 2008 03:23:38 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:37:20 +0000 (11:37 +1100)
commit4805621a37d9b2b16641b5c68597651419e9e252
treea3c63689100a8c7ca2eb72efe4036f7863c34e12
parent5e1be0fb1a3950597aeda448698e85b0595a2e92
[XFS] factor out xfs_read_agf helper

Add a helper to read the AGF header and perform basic verification.
Based on hunks from a larger patch from Dave Chinner.

(First sent on Juli 23rd)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/xfs_ag.h
fs/xfs/xfs_alloc.c
fs/xfs/xfs_log_recover.c