]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Do not send SMB3 SET_INFO request if nothing is changing
authorSteve French <smfrench@gmail.com>
Mon, 26 Sep 2016 19:23:08 +0000 (14:23 -0500)
committerSteve French <smfrench@gmail.com>
Fri, 14 Oct 2016 00:46:51 +0000 (19:46 -0500)
commit18dd8e1a65ddae2351d0f0d6dd4a334f441fc5fa
treede8dd8e2fa23c3c11c12e5a46bbea8f359a059bf
parent141891f4727c08829755be6c785e125d2e96c899
Do not send SMB3 SET_INFO request if nothing is changing

[CIFS] We had cases where we sent a SMB2/SMB3 setinfo request with all
timestamp (and DOS attribute) fields marked as 0 (ie do not change)
e.g. on chmod or chown.

Signed-off-by: Steve French <steve.french@primarydata.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2inode.c