diff options
author | Steve French <stfrench@microsoft.com> | 2018-09-22 20:07:06 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-10-24 05:16:05 +0300 |
commit | 9b9c5bea0b960616d638711d0ecc270c3a074e7f (patch) | |
tree | ae8b0d2c9121e9a368530f6e8d11c4eb0b3dc68d /fs/cifs/connect.c | |
parent | 3d621230b8a0c6616f32b86ec3f0bc3ead9eb5b8 (diff) | |
download | linux-9b9c5bea0b960616d638711d0ecc270c3a074e7f.tar.xz |
cifs: do not return atime less than mtime
In network file system it is fairly easy for server and client
atime vs. mtime to get confused (and atime updated less frequently)
which we noticed broke some apps which expect atime >= mtime
Also ignore relatime mount option (rather than error on it) since
relatime is basically what some network server fs are doing
(relatime).
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 1605bf250691..d82f0cc71755 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -250,6 +250,7 @@ static const match_table_t cifs_mount_option_tokens = { { Opt_ignore, "dev" }, { Opt_ignore, "mand" }, { Opt_ignore, "nomand" }, + { Opt_ignore, "relatime" }, { Opt_ignore, "_netdev" }, { Opt_err, NULL } |