xfs: negate xfs_icsb_init_counters error value
authorDave Chinner <dchinner@redhat.com>
Wed, 14 May 2014 23:23:07 +0000 (09:23 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 14 May 2014 23:23:07 +0000 (09:23 +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 e1597f2e58dac697c8bcff83ef30cdf24b40d20b..3494eff8e4ebfbce7256fd8d95769e2a1799619c 100644 (file)
@@ -1437,7 +1437,7 @@ xfs_fs_fill_super(
        if (error)
                goto out_close_devices;
 
-       error = xfs_icsb_init_counters(mp);
+       error = -xfs_icsb_init_counters(mp);
        if (error)
                goto out_destroy_workqueues;