Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390644
| From | Jaegeuk Kim <jaegeuk@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/4] f2fs: fix to clear private data in page |
| Date | 2016-04-29 01:30 +0200 |
| Message-ID | <rt3xE-46v-11@gated-at.bofh.it> (permalink) |
| References | <rsVTt-5A5-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Chao, Could you check your email setting? All the patches are corrupted, as git am says. Thanks, On Thu, Apr 28, 2016 at 11:13:48PM +0800, Chao Yu wrote: > From: Chao Yu <yuchao0@huawei.com> > > Private data in page should be removed during ->releasepage or > ->invalidatepage, otherwise garbage data would be remained in that page. > > Signed-off-by: Chao Yu <yuchao0@huawei.com> > --- > fs/f2fs/data.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c > index 38ce5d6..888f178 100644 > --- a/fs/f2fs/data.c > +++ b/fs/f2fs/data.c > @@ -1723,6 +1723,7 @@ void f2fs_invalidate_page(struct page *page, unsigned int > offset, > if (IS_ATOMIC_WRITTEN_PAGE(page)) > return; > > + set_page_private(page, 0); > ClearPagePrivate(page); > } > > @@ -1736,6 +1737,7 @@ int f2fs_release_page(struct page *page, gfp_t wait) > if (IS_ATOMIC_WRITTEN_PAGE(page)) > return 0; > > + set_page_private(page, 0); > ClearPagePrivate(page); > return 1; > } > -- > 2.7.2
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/4] f2fs: fix to clear private data in page Chao Yu <chao@kernel.org> - 2016-04-28 17:20 +0200
Re: [PATCH 1/4] f2fs: fix to clear private data in page Jaegeuk Kim <jaegeuk@kernel.org> - 2016-04-29 01:30 +0200
Re: [PATCH 1/4] f2fs: fix to clear private data in page Chao Yu <chao@kernel.org> - 2016-04-29 13:20 +0200
csiph-web