Skip to content
Commit c8b7cfa6 authored by Steve French's avatar Steve French Committed by Greg Kroah-Hartman
Browse files

smb3: rc uninitialized in one fallocate path

[ Upstream commit 5ad4df56

 ]

Clang detected a problem with rc possibly being unitialized
(when length is zero) in a recently added fallocate code path.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8cfdd039
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment