Explorar o código

xfs: negate mount workqueue init error value

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Dave Chinner %!s(int64=11) %!d(string=hai) anos
pai
achega
45687642e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/xfs/xfs_super.c

+ 1 - 1
fs/xfs/xfs_super.c

@@ -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;