]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.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)
committerIshan Mittal <imittal@nvidia.com>
Fri, 6 Jan 2017 10:15:53 +0000 (15:45 +0530)
commitb8f63bb5c0b7ffcbe5375108d96836e6b59785b5
treea3db46aa62406251299207e9982138c63d51bc66
parent750f2daa4d15e51a72b01a6efd385da398767198
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2inode.c