From: Jaegeuk Kim Date: Mon, 11 Feb 2013 22:28:55 +0000 (+0900) Subject: f2fs: avoid build warning X-Git-Tag: firefly_0821_release~3680^2~1020^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7dd690c82029ed34aafdb58ce7463cdead69abb5;p=firefly-linux-kernel-4.4.55.git f2fs: avoid build warning This patch removes the following build warning: fs/f2fs/node.c: warning: 'nofs' may be used uninitialized in this function [-Wuninitialized]: => 738:8 Note that this is a false alarm. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 0da252c78af8..e275218904ed 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -660,7 +660,7 @@ int truncate_inode_blocks(struct inode *inode, pgoff_t from) struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); int err = 0, cont = 1; int level, offset[4], noffset[4]; - unsigned int nofs; + unsigned int nofs = 0; struct f2fs_node *rn; struct dnode_of_data dn; struct page *page;