]> Gentwo Git Trees - linux/.git/commit
cifs: Add comments for DeletePending assignments in open functions
authorPali Rohár <pali@kernel.org>
Sun, 1 Jun 2025 16:01:54 +0000 (18:01 +0200)
committerSteve French <stfrench@microsoft.com>
Fri, 10 Oct 2025 04:01:24 +0000 (23:01 -0500)
commitfa9fe8715055f8b9bcee38904065b2f1eb9197f0
tree7344cd2e8d40e2154aeb84f62336dd14754b1e92
parent92210ccd877ba577585e420c99cff2b51c4c9fe2
cifs: Add comments for DeletePending assignments in open functions

On more places is set DeletePending member to 0. Add comments why is 0 the
correct value. Paths in DELETE_PENDING state cannot be opened by new calls.
So if the newly issued open for that path succeed then it means that the
path cannot be in DELETE_PENDING state.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifssmb.c
fs/smb/client/smb2inode.c
fs/smb/client/smb2pdu.c