commit | 69738cfdfa7032f45d9e7462d24490e61cf163dd | [log] [tgz] |
---|---|---|
author | Deepa Dinamani <deepa.kernel@gmail.com> | Fri Nov 29 21:30:25 2019 -0800 |
committer | Steve French <stfrench@microsoft.com> | Mon Dec 02 15:15:35 2019 -0600 |
tree | da838cb9465e63a48fd7adf2f9ef0e799e7dcca4 | |
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>