ceph: fix update of ctime from MDS
authorSage Weil <sage@newdream.net>
Mon, 8 Nov 2010 17:24:34 +0000 (09:24 -0800)
committerSage Weil <sage@newdream.net>
Mon, 8 Nov 2010 17:24:34 +0000 (09:24 -0800)
The client can have a newer ctime than the MDS due to AUTH_EXCL and
XATTR_EXCL caps as well; update the check in ceph_fill_file_time
appropriately.

This fixes cases where ctime/mtime goes backward under the right sequence
of local updates (e.g. chmod) and mds replies (e.g. subsequent stat that
goes to the MDS).

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found