Skip to content

Commit 82c41e2

Browse files
Jaegeuk KimHashcode
authored andcommitted
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>
1 parent ecc1e22 commit 82c41e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/f2fs/node.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ int truncate_inode_blocks(struct inode *inode, pgoff_t from)
660660
struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb);
661661
int err = 0, cont = 1;
662662
int level, offset[4], noffset[4];
663-
unsigned int nofs;
663+
unsigned int nofs = 0;
664664
struct f2fs_node *rn;
665665
struct dnode_of_data dn;
666666
struct page *page;

0 commit comments

Comments
 (0)