xfs: negate mount workqueue init error value
authorDave Chinner <dchinner@redhat.com>
Wed, 14 May 2014 23:22:53 +0000 (09:22 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 14 May 2014 23:22:53 +0000 (09:22 +1000)
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_super.c

index 2053767763773b60d7b7f8aca31f3b31a9219785..e1597f2e58dac697c8bcff83ef30cdf24b40d20b 100644 (file)
@@ -1433,7 +1433,7 @@ xfs_fs_fill_super(
        if (error)
                goto out_free_fsname;
 
-       error = xfs_init_mount_workqueues(mp);
+       error = -xfs_init_mount_workqueues(mp);
        if (error)
                goto out_close_devices;