]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cifs: Fix undefined variables
authorDavid Howells <dhowells@redhat.com>
Mon, 18 May 2026 21:13:09 +0000 (22:13 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 19 May 2026 00:50:06 +0000 (17:50 -0700)
commit8cf8b5ae8e093132b0dce0a932af10c9ef077936
treea10ca92638ec56e48ef0f51d42553ce45bc5cd16
parent4d3a2a466b8d68d852a1f3bbf11204b718428dc4
cifs: Fix undefined variables

Fix a couple of undefined variables introduced by the patch to fix tearing
on ->remote_i_size and ->zero_point.  For some reason, make W=1 with gcc
doesn't give undefined variable warnings (but clang does).

Fixes: 2c8f4742bb76 ("netfs: Fix potential for tearing in ->remote_i_size and ->zero_point")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605031459.eX5UbO3K-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202605021450.ca5QGqLH-lkp@intel.com/
cc: Steve French <sfrench@samba.org>
cc: Paulo Alcantara <pc@manguebit.org>
cc: Matthew Wilcox <willy@infradead.org>
cc: Christian Brauner <brauner@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/smb/client/cifsfs.c