linux_old1/fs/xfs/support
Christoph Hellwig 9f8868ffb3 [XFS] streamline init/exit path
Currently the xfs module init/exit code is a mess. It's farmed out over a
lot of function with very little error checking. This patch makes sure we
propagate all initialization failures properly and clean up after them.
Various runtime initializations are replaced with compile-time
initializations where possible to make this easier. The exit path is
similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers. I've also changed the ktrace allocations to
KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

SGI-PV: 976035

SGI-Modid: xfs-linux-melb:xfs-kern:31354a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-07-28 16:59:25 +10:00
..
debug.c [XFS] lose xfs_hex_dump in favor of print_hex_dump 2008-02-07 18:13:05 +11:00
debug.h [XFS] Include linux/random.h in all builds, not just debug. 2008-04-30 07:53:50 -07:00
ktrace.c [XFS] Remove unused arg from kmem_free() 2008-07-28 16:58:07 +10:00
ktrace.h [XFS] Use power-of-2 sized buffers to reduce overhead 2008-04-18 11:40:04 +10:00
uuid.c [XFS] streamline init/exit path 2008-07-28 16:59:25 +10:00
uuid.h [XFS] streamline init/exit path 2008-07-28 16:59:25 +10:00