]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: remove redudant assignment in cifs_strict_fsync()
authorPaulo Alcantara <pc@manguebit.org>
Thu, 9 Oct 2025 15:41:16 +0000 (12:41 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Oct 2025 16:16:25 +0000 (11:16 -0500)
commitbe3898a395f830ef7eaff70df557f57315c61c81
tree1863af249d73161109da4db6950cba5f41307a49
parentdba9f997c9d9a1cade05d006ed0429a63a4eed32
smb: client: remove redudant assignment in cifs_strict_fsync()

Remove redudant assignment of @rc as it will be overwritten by the
following cifs_file_flush() call.

Reported-by: Steve French <stfrench@microsoft.com>
Addresses-Coverity: 1665925
Fixes: 210627b0aca9 ("smb: client: fix missing timestamp updates with O_TRUNC")
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/file.c