While atime on close is supposed to only increase, there's
a bug in some older server versions where atime from a client
is taken no matter the value that allows a stale client atime
to overwrite a correct value.
Update atime in close rpc to 0 to help such servers out.
Signed-off-by: Niu Yawei <firstname.lastname@example.org>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8041Reviewed-by: Andreas Dilger <email@example.com>
Reviewed-by: Jinshan Xiong <firstname.lastname@example.org>
Signed-off-by: Oleg Drokin <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>