aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorDeepa Dinamani <deepa.kernel@gmail.com>2019-11-29 21:30:25 -0800
committerSteve French <stfrench@microsoft.com>2019-12-02 15:15:35 -0600
commit69738cfdfa7032f45d9e7462d24490e61cf163dd (patch)
treeda838cb9465e63a48fd7adf2f9ef0e799e7dcca4 /fs/cifs/smb2pdu.c
parentCIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks (diff)
downloadlinux-dev-69738cfdfa7032f45d9e7462d24490e61cf163dd.tar.xz
linux-dev-69738cfdfa7032f45d9e7462d24490e61cf163dd.zip
fs: cifs: Fix atime update check vs mtime
According to the comment in the code and commit log, some apps expect atime >= mtime; but the introduced code results in atime==mtime. Fix the comparison to guard against atime<mtime. Fixes: 9b9c5bea0b96 ("cifs: do not return atime less than mtime") Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com> Cc: stfrench@microsoft.com Cc: linux-cifs@vger.kernel.org Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions