summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-10-16 11:43:30 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-03 16:07:30 -0800
commit4a257ed677cb68a2096358e58b61efacf85d5f16 (patch)
tree61021ac7c6e3dc10a47b4e89a5f4ba102bddb879 /fs/f2fs/segment.c
parent13fd8f89f6623b348dfb7ed6dce50fab733f4c91 (diff)
f2fs: avoid build warning
This patch removes build warning. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 902c4c3f6b70..2c1e60893ef2 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1715,7 +1715,7 @@ void flush_sit_entries(struct f2fs_sb_info *sbi, struct cp_control *cpc)
* #2, flush sit entries to sit page.
*/
list_for_each_entry_safe(ses, tmp, head, set_list) {
- struct page *page;
+ struct page *page = NULL;
struct f2fs_sit_block *raw_sit = NULL;
unsigned int start_segno = ses->start_segno;
unsigned int end = min(start_segno + SIT_ENTRY_PER_BLOCK,