]> git.itanic.dy.fi Git - linux-stable/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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 8 Nov 2016 15:38:18 +0000 (16:38 +0100)
commitc9670b79465cc0ce229064c443d1092057596069
tree3a4e851408195c710d6831843a6efd111ecf4c12
parent41d2edf9365c0e0597b8590477019dd030cf3052
Do not send SMB3 SET_INFO request if nothing is changing

commit 18dd8e1a65ddae2351d0f0d6dd4a334f441fc5fa upstream.

[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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/cifs/smb2inode.c