diff options
| author | Deepa Dinamani <[email protected]> | 2019-11-30 05:30:25 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2019-12-02 21:15:35 +0000 |
| commit | 69738cfdfa7032f45d9e7462d24490e61cf163dd (patch) | |
| tree | da838cb9465e63a48fd7adf2f9ef0e799e7dcca4 /net/unix/af_unix.c | |
| parent | CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks (diff) | |
| download | kernel-69738cfdfa7032f45d9e7462d24490e61cf163dd.tar.gz kernel-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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
