]> git.karo-electronics.de Git - linux-beck.git/commitdiff
f2fs: avoid build warning
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 16 Oct 2014 18:43:30 +0000 (11:43 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Nov 2014 00:07:30 +0000 (16:07 -0800)
This patch removes build warning.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c

index 902c4c3f6b708872fd577e4ca7723e9d6347f98f..2c1e60893ef27e66de15d7666239b458a00c1bc8 100644 (file)
@@ -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,