commit | 4891c4e595b48ee41b7d8062bb599d05a938ea0a | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Sat Oct 31 09:07:51 2020 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | b2b9c37a873ded4d9facb8c2e8e39f1b523d0de3 | |
parent | 9b5546c37ab020039f06855eae28fbd56adb096b [diff] |
fs: btrfs: initialize @ret to 0 to prevent uninitialized return value In show_dir() if we hit a ROOT_ITEM, we can exit with uninitialized @ret. Fix it by initializing it to 0. Reported-by: Coverity CID 312955 Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>