From 72a231f4712648a8072b22f50e17058ae565ee28 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 Jan 2009 09:47:56 -0800 Subject: [PATCH] mds: drop dup code --- src/mds/Locker.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mds/Locker.cc b/src/mds/Locker.cc index 2e25643eebb5d..5060f76fa59bc 100644 --- a/src/mds/Locker.cc +++ b/src/mds/Locker.cc @@ -1241,11 +1241,6 @@ bool Locker::_do_cap_update(CInode *in, int dirty, int wanted, snapid_t follows, Mutation *mut = new Mutation; mut->ls = mds->mdlog->get_current_segment(); - if (change_max) { - dout(7) << " max_size " << pi->max_size << " -> " << new_max << dendl; - pi->max_size = new_max; - } - // file if (dirty & (CEPH_CAP_FILE_EXCL|CEPH_CAP_FILE_WR)) { utime_t atime = m->get_atime(); -- 2.39.5