diff options
| author | Paulo Alcantara <pc@manguebit.org> | 2025-09-18 18:30:32 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-25 12:16:53 +0300 |
| commit | 9617c3ede9ffe488eb8ba18071f4d9f6e869d32b (patch) | |
| tree | 6f6135c50ac73f9280d2dab721330fd4e4ec6743 /net/unix/sysctl_net_unix.c | |
| parent | 5ba113d0b04986a6fcb873fb5ee1b0e9b60382fa (diff) | |
| download | linux-9617c3ede9ffe488eb8ba18071f4d9f6e869d32b.tar.xz | |
smb: client: fix file open check in __cifs_unlink()
[ Upstream commit 251090e2c2c1be60607d1c521af2c993f04d4f61 ]
Fix the file open check to decide whether or not silly-rename the file
in SMB2+.
Fixes: c5ea3065586d ("smb: client: fix data loss due to broken rename(2)")
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: Frank Sorenson <sorenson@redhat.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
