ksmbd: don't increment epoch if current state and request state are same
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 23 Jan 2024 11:40:29 +0000 (20:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Feb 2024 00:18:58 +0000 (16:18 -0800)
commit9554d4934b810b0a70fd4f2d0946b6d06194e69f
treefa03ac85bdbc825a2a05c75142912c3386dc5022
parente9ec6665de8f706b4f4133b87b2bd02a159ec57b
ksmbd: don't increment epoch if current state and request state are same

[ Upstream commit b6e9a44e99603fe10e1d78901fdd97681a539612 ]

If existing lease state and request state are same, don't increment
epoch in create context.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/smb/server/oplock.c