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;
> +
> +
On Thu, Jun 4, 2015 at 12:18 PM, Robbie Ko wrote:
> There's one case where we not clear orphan_dir_info issue.
You mean where we leak a orphan_dir_info structure.
>
> Example:
>
> Parent snapshot:
> | a/ (ino 279)
> | c (ino 282)
> | del/ (ino 281)
> | tmp/ (ino 280)
> |---