xfs
[Top] [All Lists]

[PATCH] xfs: fix duplicate workqueue initialisation

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfs: fix duplicate workqueue initialisation
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 10 May 2011 12:05:50 +1000
From: Dave Chinner <dchinner@xxxxxxxxxx>

The workqueue initialisation function is called twice when
initialising the XFS subsystem. Remove the second initialisation
call.

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
 fs/xfs/linux-2.6/xfs_super.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 29c0ccb..365375c 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -1800,10 +1800,6 @@ init_xfs_fs(void)
        if (error)
                goto out_cleanup_procfs;
 
-       error = xfs_init_workqueues();
-       if (error)
-               goto out_sysctl_unregister;
-
        vfs_initquota();
 
        error = register_filesystem(&xfs_fs_type);
-- 
1.7.4.4

<Prev in Thread] Current Thread [Next in Thread>