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: Chao Yu <chao2.yu@samsung.com>
[Jaegeuk Kim: add description]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
Chao Yu 2013-11-28 15:41:39 +08:00 committed by Jaegeuk Kim
parent 6947eea957
commit aac44046a2

View File

@ -96,7 +96,7 @@
struct bio_private {
struct f2fs_sb_info *sbi;
bool is_sync;
void *wait;
struct completion *wait;
};
/*