Re: [PATCH 06/16] btrfs: move clearing of EXCL_OP out of __cancel_balance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





@@ -3926,11 +3925,11 @@ int btrfs_balance(struct btrfs_balance_control *bctl,
  	return ret;
  out:
  	if (bctl->flags & BTRFS_BALANCE_RESUME)
-		__cancel_balance(fs_info);
-	else {
+		reset_balance_state(fs_info);

reset_balance_state() is something unrelated. More over compile fails at this patch.

----
fs/btrfs/volumes.c: In function ‘btrfs_balance’:
fs/btrfs/volumes.c:3928:3: error: implicit declaration of function ‘reset_balance_state’; did you mean ‘insert_balance_item’? [-Werror=implicit-function-declaration]
   reset_balance_state(fs_info);
----

Thanks, Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux