diff options
author | Sage Weil <sage@newdream.net> | 2010-11-08 20:24:34 +0300 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-11-08 20:24:34 +0300 |
commit | d8672d64b88cdb7aa8139fb6d218f40b8cbf60af (patch) | |
tree | 71d955bc89b33df3f838f8e1e8c0cbcd3f2bfc62 /fs/ceph/file.c | |
parent | 8bd59e0188c04f6540f00e13f633f22e4804ce06 (diff) | |
download | linux-d8672d64b88cdb7aa8139fb6d218f40b8cbf60af.tar.xz |
ceph: fix update of ctime from MDS
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>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions