projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6947eea
)
f2fs: correct type of wait in struct bio_private
author
Chao Yu
<chao2.yu@samsung.com>
Thu, 28 Nov 2013 07:41:39 +0000
(15:41 +0800)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:04 +0000
(10:18 +0900)
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>
fs/f2fs/segment.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/segment.h
b/fs/f2fs/segment.h
index 07887e1cc7041f7c5e83ae56875f6744ec97678e..7fea2ee8a5da0a1ae8fa4f3c968d9eef10b2f4a7 100644
(file)
--- 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;
};
/*