summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-10-20 17:45:53 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-03 16:07:36 -0800
commit1730663cb7f368ecc2aea36fd8c533b5b0a91980 (patch)
tree232616d85a1531081953cf5c6ce3366ef9cc45b9 /fs/f2fs/super.c
parentc6ac4c0ec416e77cab09cac6cee2d100fbd7fc82 (diff)
downloadlinux-1730663cb7f368ecc2aea36fd8c533b5b0a91980.tar.gz
linux-1730663cb7f368ecc2aea36fd8c533b5b0a91980.tar.bz2
linux-1730663cb7f368ecc2aea36fd8c533b5b0a91980.zip
f2fs: set raw_super default to NULL to avoid compile warning
Set raw_super default to NULL to avoid the possibly used uninitialized warning, though we may never hit it in fact. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 73993a9e86be..6c5fc7605109 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -930,7 +930,7 @@ retry:
static int f2fs_fill_super(struct super_block *sb, void *data, int silent)
{
struct f2fs_sb_info *sbi;
- struct f2fs_super_block *raw_super;
+ struct f2fs_super_block *raw_super = NULL;
struct buffer_head *raw_super_buf;
struct inode *root;
long err = -EINVAL;