1
0
Fork 0
alistair23-linux/fs/cifs
Deepa Dinamani 52788b4af1 fs: cifs: Fix atime update check vs mtime
commit 69738cfdfa upstream.

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: 9b9c5bea0b ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-09 10:20:05 +01:00
..
Kconfig
Makefile
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: move cifsFileInfo_put logic into a work-queue 2020-01-04 19:18:26 +01:00
cifsfs.h
cifsglob.h cifs: move cifsFileInfo_put logic into a work-queue 2020-01-04 19:18:26 +01:00
cifspdu.h
cifsproto.h
cifsroot.c
cifssmb.c
connect.c
dfs_cache.c cifs: Fix lookup of root ses in DFS referral cache 2020-01-09 10:20:05 +01:00
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c cifs: move cifsFileInfo_put logic into a work-queue 2020-01-04 19:18:26 +01:00
fscache.c
fscache.h
inode.c fs: cifs: Fix atime update check vs mtime 2020-01-09 10:20:05 +01:00
ioctl.c
link.c
misc.c
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c
smb2ops.c
smb2pdu.c cifs: Fix potential softlockups while refreshing DFS cache 2020-01-09 10:20:03 +01:00
smb2pdu.h
smb2proto.h
smb2status.h
smb2transport.c
smbdirect.c
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c
winucase.c
xattr.c