Skip to content
Commit 35a30d7c authored by David Sterba's avatar David Sterba Committed by Chris Mason
Browse files

btrfs: fix uninitialized return value



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: default avatarDavid Sterba <dsterba@suse.cz>
Reviewed-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 19fd2949
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment