summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-10-16 20:43:30 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-04 01:07:30 +0100
commit4a257ed677cb68a2096358e58b61efacf85d5f16 (patch)
tree61021ac7c6e3dc10a47b4e89a5f4ba102bddb879 /fs/f2fs/segment.c
parentf2fs: fix to call f2fs_unlock_op (diff)
downloadlinux-4a257ed677cb68a2096358e58b61efacf85d5f16.tar.xz
linux-4a257ed677cb68a2096358e58b61efacf85d5f16.zip
f2fs: avoid build warning
This patch removes build warning. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-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,