Re: [PATCH v2] f2fs: fix to avoid page count leak

From: Jaegeuk Kim
Date: Mon Apr 20 2020 - 23:25:16 EST


On 04/21, Chao Yu wrote:
> Hi Jaegeuk,
>
> Let's drop this patch, I encounter bad page state (nonzero refcount) reported
> by vm w/ this patch.

Ok.

>
> On 2020/4/15 10:13, Chao Yu wrote:
> > In f2fs_read_data_pages(), once we add page into radix tree, we need to
> > release reference count of that page, however when f2fs_read_multi_pages()
> > fails, we didn't handle that case correctly, fix it.
> >
> > Fixes: 4c8ff7095bef ("f2fs: support data compression")
> > Signed-off-by: Chao Yu <yuchao0@xxxxxxxxxx>