diff options
author | Sage Weil <sage@newdream.net> | 2008-10-10 01:22:23 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2008-10-13 21:02:27 +0200 |
commit | d4024afe6592891fd7a39900469dda21ee5474dc (patch) | |
tree | 09c69568ca716b29bc2b7bf567dad34cbb33ff7e | |
parent | filestore: use BTRFS_IOC_SYNC instead of fsync (diff) | |
download | ceph-d4024afe6592891fd7a39900469dda21ee5474dc.tar.xz ceph-d4024afe6592891fd7a39900469dda21ee5474dc.zip |
client: fix && || parens
-rw-r--r-- | src/client/Client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Client.cc b/src/client/Client.cc index 03d91e05303..4dce066c503 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; |