summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2025-08-08 11:43:29 -0300
committerSteve French <stfrench@microsoft.com>2025-08-10 12:39:51 -0500
commitd84291fc7453df7881a970716f8256273aca5747 (patch)
tree69a0c3f4db40dfa835756089574fc3d58c4c9f8e /scripts/extract-fwblobs
parent0af1561b2d60bab2a2b00720a5c7b292ecc549ec (diff)
smb: client: fix race with concurrent opens in rename(2)
Besides sending the rename request to the server, the rename process also involves closing any deferred close, waiting for outstanding I/O to complete as well as marking all existing open handles as deleted to prevent them from deferring closes, which increases the race window for potential concurrent opens on the target file. Fix this by unhashing the dentry in advance to prevent any concurrent opens on the target. Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org> Reviewed-by: David Howells <dhowells@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-cifs@vger.kernel.org Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions