commit | bbad1d75b42b4879d72a21d7787034a8e2c8842c | [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 | 11acf0f97993874711fd2cc45aa7aa6228e3e2a0 [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>