From: Gu Zheng Date: Mon, 20 Oct 2014 09:45:53 +0000 (+0800) Subject: f2fs: set raw_super default to NULL to avoid compile warning X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1730663cb7f368ecc2aea36fd8c533b5b0a91980;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Jaegeuk Kim --- 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;