Re: [GIT PULL for v7.1] vfs fixes
From: Nathan Chancellor
Date: Mon May 18 2026 - 15:46:34 EST
On Mon, May 18, 2026 at 09:35:59AM +0200, Christian Brauner wrote:
> David Howells (22):
> netfs: Fix potential for tearing in ->remote_i_size and ->zero_point
...
> fs/smb/client/cifsfs.c | 38 ++++--
The changes in this file from that patch breaks the build with clang:
fs/smb/client/cifsfs.c:1390:29: error: variable 'old_size' is uninitialized when used here [-Werror,-Wuninitialized]
1390 | if (rc == 0 && new_size > old_size) {
| ^~~~~~~~
fs/smb/client/cifsfs.c:1307:37: note: initialize the variable 'old_size' to silence this warning
1307 | unsigned long long i_size, old_size, new_size, zero_point;
| ^
| = 0
fs/smb/client/cifsfs.c:1375:13: error: variable 'zero_point' is uninitialized when used here [-Werror,-Wuninitialized]
1375 | if (fend > zero_point)
| ^~~~~~~~~~
fs/smb/client/cifsfs.c:1307:59: note: initialize the variable 'zero_point' to silence this warning
1307 | unsigned long long i_size, old_size, new_size, zero_point;
| ^
| = 0
2 errors generated.
There were no -next updates last week, so it seems like the majority of
this pull request saw zero -next testing time. I see two kbuild test
robot build reports but I guess they were ignored.
https://lore.kernel.org/202605031459.eX5UbO3K-lkp@xxxxxxxxx/
https://lore.kernel.org/202605021450.ca5QGqLH-lkp@xxxxxxxxx/
--
Cheers,
Nathan