diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2019-11-29 21:30:25 -0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-12-02 15:15:35 -0600 |
commit | 69738cfdfa7032f45d9e7462d24490e61cf163dd (patch) | |
tree | da838cb9465e63a48fd7adf2f9ef0e799e7dcca4 /fs/smb/client | |
parent | 6f582b273ec23332074d970a7fb25bef835df71f (diff) |
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 'fs/smb/client')
0 files changed, 0 insertions, 0 deletions