Commit aac44046 authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim

f2fs: correct type of wait in struct bio_private

The void *wait in bio_private is used for waiting completion of checkpoint bio.
So we don't need to use its type as void, but declare it as completion type.
Signed-off-by: default avatarChao Yu <chao2.yu@samsung.com>
[Jaegeuk Kim: add description]
Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 6947eea9
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
struct bio_private { struct bio_private {
struct f2fs_sb_info *sbi; struct f2fs_sb_info *sbi;
bool is_sync; bool is_sync;
void *wait; struct completion *wait;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment