提交 7dd690c8 编写于 作者: J Jaegeuk Kim

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: NJaegeuk Kim <jaegeuk.kim@samsung.com>
上级 90b2fc64
...@@ -660,7 +660,7 @@ int truncate_inode_blocks(struct inode *inode, pgoff_t from) ...@@ -660,7 +660,7 @@ int truncate_inode_blocks(struct inode *inode, pgoff_t from)
struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb);
int err = 0, cont = 1; int err = 0, cont = 1;
int level, offset[4], noffset[4]; int level, offset[4], noffset[4];
unsigned int nofs; unsigned int nofs = 0;
struct f2fs_node *rn; struct f2fs_node *rn;
struct dnode_of_data dn; struct dnode_of_data dn;
struct page *page; struct page *page;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册