Re: [PATCH v2] overlay: test memleak in copy-up error handling path

Xiong Zhou
2016-05-27T05:46:11Z

On Thu, May 26, 2016 at 03:24:26PM +0800, Eryu Guan wrote:
> On Tue, May 10, 2016 at 10:32:45AM +0800, Xiong Zhou wrote:
> > This memleak leads to panic when unmount the underlying fs.
> > Kernel commit ab79efab0 fixed this issue.
> >
> > Signed-off-by: Xiong Zhou <xzhou@redhat.com>
> > ---
> >
> > Diff to v1:
> > set up underlying fs in $SCRATCH_DEV instead of $SCRATCH_MNT
> > xfs_io open test_file instead of src/writemod
> > use little upper dir to trigger ENOSP failure instead of kill
> > clean up in cleanup
>
> Thanks for the update! And sorry for late review.. Some minor issues
> inline

Thank you very much for the tips! Sending v3.

--
Xiong