diff options
author | Chao Yu <chao2.yu@samsung.com> | 2013-11-28 02:41:39 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-22 20:18:04 -0500 |
commit | aac44046a2cdf70474fee8931bc8a591fd16c8dc (patch) | |
tree | 9e063359e73118a5af59547f24cfe1ef22fc4f74 /fs/f2fs/segment.h | |
parent | 6947eea957e4c4c873f92a4ee5da7a6ef0012718 (diff) |
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>
Diffstat (limited to 'fs/f2fs/segment.h')
-rw-r--r-- | fs/f2fs/segment.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
96 | struct bio_private { | 96 | struct bio_private { |
97 | struct f2fs_sb_info *sbi; | 97 | struct f2fs_sb_info *sbi; |
98 | bool is_sync; | 98 | bool is_sync; |
99 | void *wait; | 99 | struct completion *wait; |
100 | }; | 100 | }; |
101 | 101 | ||
102 | /* | 102 | /* |