]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix CDir::WAIT_ANY_MASK
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 21 Mar 2014 01:50:41 +0000 (09:50 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 28 Mar 2014 18:08:13 +0000 (02:08 +0800)
make sure CDir::WAIT_ANY_MASK include MDSCacheObject::WAIT_UNFREEZE

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/CDir.h

index 955a04e9e1079ba91e1f2d684d5c3f4a610e8a52..30edd28506ad312765a89b54b065ac633ffa6fbc 100644 (file)
@@ -151,7 +151,7 @@ public:
 
   static const int WAIT_DNLOCK_OFFSET = 4;
 
-  static const uint64_t WAIT_ANY_MASK  = (0xffffffff);
+  static const uint64_t WAIT_ANY_MASK = (uint64_t)(-1);
   static const uint64_t WAIT_ATFREEZEROOT = (WAIT_UNFREEZE);
   static const uint64_t WAIT_ATSUBTREEROOT = (WAIT_SINGLEAUTH);