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
..
2008-07-28 16:59:25 +10:00
2008-07-28 16:58:08 +10:00
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-07-28 16:58:49 +10:00
2008-07-28 16:58:53 +10:00
2008-07-28 16:59:17 +10:00
2008-02-07 16:46:39 +11:00
2008-02-13 16:21:19 -08:00
2007-02-10 18:37:33 +11:00
2008-04-18 12:03:02 +10:00
2007-07-14 15:28:50 +10:00
2008-02-13 16:21:19 -08:00
2008-07-28 16:58:53 +10:00
2008-07-28 16:58:53 +10:00
2008-07-28 16:58:35 +10:00
2008-07-28 16:58:53 +10:00
2008-07-28 16:59:09 +10:00
2008-02-26 17:05:44 +11:00
2008-02-26 17:05:44 +11:00
2008-07-28 16:59:13 +10:00
2008-04-10 16:24:45 +10:00
2008-07-28 16:59:03 +10:00
2008-07-28 16:59:11 +10:00
2006-09-28 10:58:17 +10:00
2008-02-07 18:14:38 +11:00
2008-07-28 16:58:07 +10:00
2008-02-07 18:14:38 +11:00
2008-07-28 16:58:05 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:58:40 +10:00
2008-07-28 16:58:07 +10:00
2006-06-09 14:48:12 +10:00
2008-02-07 18:19:24 +11:00
2008-07-28 16:58:40 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:58:36 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:59:06 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:59:01 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:58:40 +10:00
2008-07-28 16:58:50 +10:00
2008-07-28 16:58:37 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:58:46 +10:00
2008-07-28 16:58:40 +10:00
2007-10-16 11:45:57 +10:00
2007-10-19 17:14:45 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:58:07 +10:00
2006-09-28 10:55:43 +10:00
2008-07-28 16:59:25 +10:00
2007-07-14 15:40:53 +10:00
2008-07-28 16:59:09 +10:00
2008-07-28 16:58:42 +10:00
2006-01-11 15:30:08 +11:00
2008-02-13 16:21:19 -08:00
2008-02-07 18:12:41 +11:00
2008-04-29 15:58:56 +10:00
2007-10-15 16:39:35 +10:00
2008-04-29 15:54:02 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:58:07 +10:00
2008-04-18 11:37:51 +10:00
2008-07-28 16:58:56 +10:00
2008-07-28 16:58:18 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:59:10 +10:00
2008-02-07 16:44:14 +11:00
2008-07-28 16:58:07 +10:00
2007-07-14 15:42:50 +10:00
2008-07-28 16:58:12 +10:00
2008-07-28 16:58:07 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:58:12 +10:00
2008-04-18 12:02:20 +10:00
2008-07-28 16:59:15 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:59:25 +10:00
2007-09-17 16:42:02 +10:00
2008-02-07 16:47:15 +11:00
2007-10-16 11:43:26 +10:00
2005-11-03 16:14:31 +11:00
2008-07-28 16:59:14 +10:00
2008-07-28 16:58:07 +10:00
2008-02-07 18:16:43 +11:00
2008-04-18 12:02:20 +10:00
2008-02-07 18:16:43 +11:00
2008-07-28 16:58:42 +10:00
2008-04-18 11:51:26 +10:00
2008-04-18 12:00:24 +10:00
2007-10-15 16:50:50 +10:00
2008-07-28 16:58:07 +10:00
2008-07-28 16:58:07 +10:00
2008-02-07 18:22:51 +11:00
2006-06-20 13:04:51 +10:00
2008-07-28 16:58:07 +10:00
2008-04-18 11:41:57 +10:00
2008-04-18 12:00:12 +10:00
2008-04-29 15:54:12 +10:00
2008-04-29 15:54:12 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:58:21 +10:00
2008-07-28 16:58:58 +10:00
2008-07-28 16:58:58 +10:00
2008-04-29 15:57:49 +10:00