diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-04-11 23:09:04 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-05-02 14:30:58 -0700 |
commit | 17c500350b3e1a1430cbcc7efb54eb859446fc8a (patch) | |
tree | 976a2d1090bed05d84929b3e81fc989c23798104 /fs/f2fs/inline.c | |
parent | a90a0884ac75f825157470a1c17e707d487bceb6 (diff) | |
download | linux-stable-17c500350b3e1a1430cbcc7efb54eb859446fc8a.tar.gz linux-stable-17c500350b3e1a1430cbcc7efb54eb859446fc8a.tar.bz2 linux-stable-17c500350b3e1a1430cbcc7efb54eb859446fc8a.zip |
f2fs: clear PageError on writepage
This patch clears PageError in some pages tagged by read path, but when we
write the pages with valid contents, writepage should clear the bit likewise
ext4.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r-- | fs/f2fs/inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index 767e41d944c6..bc571942885e 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -139,6 +139,7 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page) /* write data page to try to make data consistent */ set_page_writeback(page); + ClearPageError(page); fio.old_blkaddr = dn->data_blkaddr; set_inode_flag(dn->inode, FI_HOT_DATA); write_data_page(dn, &fio); |