xfs: fix duplicate workqueue initialisation
authorDave Chinner <dchinner@redhat.com>
Tue, 10 May 2011 02:05:50 +0000 (02:05 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 19 May 2011 17:03:24 +0000 (12:03 -0500)
The workqueue initialisation function is called twice when
initialising the XFS subsystem. Remove the second initialisation
call.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_super.c

index b38e58d02299b40571c6350f3b040907f6853f14..b0aa59e51fd066377d29f92da999dff54b1a1620 100644 (file)
@@ -1787,10 +1787,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);