]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: Locker: remove unused variable 2691/head
authorYan, Zheng <zyan@redhat.com>
Fri, 10 Oct 2014 13:36:39 +0000 (21:36 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 10 Oct 2014 13:47:38 +0000 (21:47 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/Locker.cc

index 5be582c43b62035b11b02e14a4fbd156ef016ad4..19907b3bb59b6536f46e824a0cf45fd4983e858d 100644 (file)
@@ -2775,7 +2775,6 @@ void Locker::_do_snap_update(CInode *in, snapid_t snap, int dirty, snapid_t foll
 void Locker::_update_cap_fields(CInode *in, int dirty, MClientCaps *m, inode_t *pi)
 {
 
-  utime_t ctime = m->get_ctime();
   if (dirty && m->get_ctime() > pi->ctime) {
     dout(7) << "  ctime " << pi->ctime << " -> " << m->get_ctime()
            << " for " << *in << dendl;