Re: [PATCH] btrfs: fix uninitialized return value

Li Zefan
2011-06-14T02:58:07Z

23:18, David Sterba wrote:
> When allocation fails in btrfs_read_fs_root_no_name, ret is not set
> although it is returned, holding a garbage value.
>
> Signed-off-by: David Sterba <dsterba@suse.cz>

Thanks! My gcc doesn''t warn on this..

Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html