Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4701063a authored by Ross Lagerwall's avatar Ross Lagerwall Committed by Greg Kroah-Hartman
Browse files

cifs: Check uniqueid for SMB2+ and return -ESTALE if necessary



[ Upstream commit a108471b5730b52017e73b58c9f486319d2ac308 ]

Commit 7196ac11 ("Fix to check Unique id and FileType when client
refer file directly.") checks whether the uniqueid of an inode has
changed when getting the inode info, but only when using the UNIX
extensions. Add a similar check for SMB2+, since this can be done
without an extra network roundtrip.

Signed-off-by: default avatarRoss Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c712daaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment