projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b2fc6
)
f2fs: avoid build warning
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Mon, 11 Feb 2013 22:28:55 +0000
(07:28 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Mon, 11 Feb 2013 22:28:55 +0000
(07:28 +0900)
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>
fs/f2fs/node.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/node.c
b/fs/f2fs/node.c
index 0da252c78af8eb12f1a2e3ec8b20189ff9dedfb7..e275218904ed964126aaae36598d7f13433f77c3 100644
(file)
--- 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;