This is a catch-all that we are carrying over from before. It may not
be strictly necessary, but I'm not inclined to check the code for
Mutation users who didn't call acquire_locks().
Signed-off-by: Sage Weil <sage@inktank.com>
assert(mds->mdlog->entry_is_open());
- // declare now?
- if (mut->now == utime_t())
- mut->now = ceph_clock_now(g_ceph_context);
+ // make sure stamp is set
+ if (mut->get_mds_stamp() == utime_t())
+ mut->set_mds_stamp(ceph_clock_now(g_ceph_context));
if (in->is_base())
return;