]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: Locker: remove unused variable 2690/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:40:08 +0000 (21:40 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/Locker.cc

index d24270efcce96bef960267ec5a3c7204b8598358..1e0bb6a7fd71a41ebf43ad99322a1b068113484c 100644 (file)
@@ -2681,7 +2681,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;