diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-02-11 17:28:55 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-02-11 17:28:55 -0500 |
commit | 7dd690c82029ed34aafdb58ce7463cdead69abb5 (patch) | |
tree | e1bc30290733951ea5356611d4b2d6408d5c7a7d /fs/f2fs | |
parent | 90b2fc64f0a6d6a6706eae0a90038ed576d5d4b6 (diff) |
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 <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
660 | struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); | 660 | struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); |
661 | int err = 0, cont = 1; | 661 | int err = 0, cont = 1; |
662 | int level, offset[4], noffset[4]; | 662 | int level, offset[4], noffset[4]; |
663 | unsigned int nofs; | 663 | unsigned int nofs = 0; |
664 | struct f2fs_node *rn; | 664 | struct f2fs_node *rn; |
665 | struct dnode_of_data dn; | 665 | struct dnode_of_data dn; |
666 | struct page *page; | 666 | struct page *page; |