Re: [PATCH 3/5] Btrfs: incremental send, fix orphan_dir_info not completely cleared

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

 



On Thu, Jun 04, 2015 at 07:18:08PM +0800, Robbie Ko wrote:
> @@ -2913,6 +2912,12 @@ static int can_rmdir(struct send_ctx *sctx, u64 dir, u64 dir_gen,
>  		}
>  
>  		if (loc.objectid > send_progress) {
> +			struct orphan_dir_info *odi;
> +
> +			odi = get_orphan_dir_info(sctx, dir);
> +			if (odi) {
> +				free_orphan_dir_info(sctx, odi);
> +			}

As you're going to resend, please drop the { .. } around the call.
--
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