From d4024afe6592891fd7a39900469dda21ee5474dc Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 9 Oct 2008 16:22:23 -0700 Subject: [PATCH] client: fix && || parens --- src/client/Client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index 03d91e0530396..4dce066c5036f 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -4244,7 +4244,7 @@ int Client::ll_lookup(vinodeno_t parent, const char *name, struct stat *attr, in diri->dir->dentries.count(dname)) { Dentry *dn = diri->dir->dentries[dname]; if ((dn->lease_mds >= 0 && dn->lease_ttl > now) || - diri->lease_mds >= 0 && diri->lease_ttl > now && (diri->lease_mask & CEPH_LOCK_ICONTENT)) { + (diri->lease_mds >= 0 && diri->lease_ttl > now && (diri->lease_mask & CEPH_LOCK_ICONTENT))) { touch_dn(dn); in = dn->inode; dout(1) << "ll_lookup " << parent << " " << name << " -> have valid lease on dentry|ICONTENT" << dendl; -- 2.39.5