]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fix snap directory atime 36169/head
authorLuis Henriques <lhenriques@suse.com>
Wed, 11 Mar 2020 11:10:05 +0000 (11:10 +0000)
committerNathan Cutler <ncutler@suse.com>
Sat, 18 Jul 2020 15:26:47 +0000 (17:26 +0200)
commitc755ca8a3803371d9a98dd5959661c3b6135d6e2
tree972e55c47a74d7790c8319c89604518a8322a6d4
parentebb3b88fa355f722566c51bd067c51fed0e1c497
client: fix snap directory atime

For consistency, also get the .snap directory atime from the parent
directory.  Otherwise, this timestamp will be kept at 1970-01-01.

Fixes: https://tracker.ceph.com/issues/46070
Signed-off-by: Luis Henriques <lhenriques@suse.com>
(cherry picked from commit 057842132600d6d5854f16600b90131075a1b509)
src/client/Client.cc