Ver Fonte

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 há 11 anos atrás
pai
commit
45687642e4
1 ficheiros alterados com 1 adições e 1 exclusões
  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;