1 From: Bill O'Donnel <billodo@sgi.com>
2 Subject: xfs/dmapi: fix crash on mount
5 This patch resolves a crash on mount problem with dmapi, relating to an
6 errant search and replace.
8 Acked-by: Jeff Mahoney <jeffm@suse.com>
11 fs/dmapi/dmapi_private.h | 4 ++--
12 fs/xfs/xfs_dmops.c | 1 -
13 2 files changed, 2 insertions(+), 3 deletions(-)
15 --- a/fs/dmapi/dmapi_private.h 2009-01-14 17:19:28.000000000 -0600
16 +++ b/fs/dmapi/dmapi_private.h 2009-01-22 10:32:34.344811347 -0600
21 -#define DMAPI_PROCFS "orig/fs/dmapi_v2" /* DMAPI device in /proc. */
22 -#define DMAPI_DBG_PROCFS "orig/fs/dmapi_d" /* DMAPI debugging dir */
23 +#define DMAPI_PROCFS "fs/dmapi_v2" /* DMAPI device in /proc. */
24 +#define DMAPI_DBG_PROCFS "fs/dmapi_d" /* DMAPI debugging dir */
27 extern struct kmem_cache *dm_fsreg_cachep;
28 --- a/fs/xfs/xfs_dmops.c 2009-01-14 17:19:30.000000000 -0600
29 +++ b/fs/xfs/xfs_dmops.c 2009-01-22 10:32:27.888692190 -0600
31 mp->m_dm_ops = &xfs_dmcore_stub;
34 - mp->m_dm_ops = &xfs_dmcore_stub;