]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librgw: fix timestamp on create (another case)
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 14 Jan 2016 22:25:45 +0000 (17:25 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:08:03 +0000 (12:08 -0500)
commit2a860f422b24c2183f74a8b0e224671cea730902
tree6c29b415c79cfad0b7ecc762af480fd3efaedac5
parente68600bef5dca8fac7b6796fcaaff3d6fac4c234
librgw: fix timestamp on create (another case)

In the rgw_create regular file case, the timestamp and size update
logic (though present) was being bypassed because the "FLAG_CREATE"
indicator which formerly propagated up from RGWLibFS::lookup_fh
was lost in the LRU change, which refactored the code for creating
new RGWFileHandle objects.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.h