From: Chao Yu Date: Thu, 28 Nov 2013 07:41:39 +0000 (+0800) Subject: f2fs: correct type of wait in struct bio_private X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aac44046a2cdf70474fee8931bc8a591fd16c8dc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 [Jaegeuk Kim: add description] Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 07887e1cc704..7fea2ee8a5da 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -96,7 +96,7 @@ struct bio_private { struct f2fs_sb_info *sbi; bool is_sync; - void *wait; + struct completion *wait; }; /*