Re: [PATCH 3/4] btrfs-progs: Fix wrong return value of wait_for_subvolume_cleaning()

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

 



On Wed, Aug 26, 2015 at 10:03:38PM +0800, Zhao Lei wrote:
> Reproduce:
>  # btrfs subvolume sync /mnt/btrfs
>  Subvolume id 323 is gone
>  # echo $?
>  1
>  #
> 
> Reason:
>  wait_for_subvolume_cleaning() return !0 in right case, because
>  value of ret is set to "is subvolume clean" state before return.
> 
> Signed-off-by: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>

Applied, thanks.
--
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