Whamcloud - gitweb
LU-11213 uapi: Remove unused CONNECT flag
[fs/lustre-release.git] / lustre / ptlrpc / wiretest.c
index 6080876..87b1407 100644 (file)
@@ -175,7 +175,9 @@ void lustre_assert_wire_constants(void)
                 (long long)MDS_HSM_CT_UNREGISTER);
        LASSERTF(MDS_SWAP_LAYOUTS == 61, "found %lld\n",
                 (long long)MDS_SWAP_LAYOUTS);
-       LASSERTF(MDS_LAST_OPC == 62, "found %lld\n",
+       LASSERTF(MDS_RMFID == 62, "found %lld\n",
+                (long long)MDS_RMFID);
+       LASSERTF(MDS_LAST_OPC == 63, "found %lld\n",
                 (long long)MDS_LAST_OPC);
        LASSERTF(REINT_SETATTR == 1, "found %lld\n",
                 (long long)REINT_SETATTR);
@@ -1349,8 +1351,6 @@ void lustre_assert_wire_constants(void)
                 OBD_CONNECT2_LSOM);
        LASSERTF(OBD_CONNECT2_PCC == 0x1000ULL, "found 0x%.16llxULL\n",
                 OBD_CONNECT2_PCC);
-       LASSERTF(OBD_CONNECT2_PLAIN_LAYOUT == 0x2000ULL, "found 0x%.16llxULL\n",
-                OBD_CONNECT2_PLAIN_LAYOUT);
        LASSERTF(OBD_CONNECT2_ASYNC_DISCARD == 0x4000ULL, "found 0x%.16llxULL\n",
                 OBD_CONNECT2_ASYNC_DISCARD);
        LASSERTF(OBD_CKSUM_CRC32 == 0x00000001UL, "found 0x%.8xUL\n",
@@ -1859,10 +1859,10 @@ void lustre_assert_wire_constants(void)
        CLASSERT(LMV_MAGIC_V1 == 0x0CD20CD0);
        CLASSERT(LMV_MAGIC_STRIPE == 0x0CD40CD0);
        CLASSERT(LMV_HASH_TYPE_MASK == 0x0000ffff);
-       CLASSERT(LMV_HASH_FLAG_MIGRATION == 0x80000000);
-       CLASSERT(LMV_HASH_FLAG_DEAD == 0x40000000);
-       CLASSERT(LMV_HASH_FLAG_BAD_TYPE == 0x20000000);
+       CLASSERT(LMV_HASH_FLAG_SPACE == 0x08000000);
        CLASSERT(LMV_HASH_FLAG_LOST_LMV == 0x10000000);
+       CLASSERT(LMV_HASH_FLAG_BAD_TYPE == 0x20000000);
+       CLASSERT(LMV_HASH_FLAG_MIGRATION == 0x80000000);
 
        /* Checks for struct obd_statfs */
        LASSERTF((int)sizeof(struct obd_statfs) == 144, "found %lld\n",
@@ -2525,6 +2525,12 @@ void lustre_assert_wire_constants(void)
                MDS_INODELOCK_OPEN);
        LASSERTF(MDS_INODELOCK_LAYOUT == 0x000008, "found 0x%.8x\n",
                MDS_INODELOCK_LAYOUT);
+       LASSERTF(MDS_INODELOCK_PERM == 0x000010, "found 0x%.8x\n",
+               MDS_INODELOCK_PERM);
+       LASSERTF(MDS_INODELOCK_XATTR == 0x000020, "found 0x%.8x\n",
+               MDS_INODELOCK_XATTR);
+       LASSERTF(MDS_INODELOCK_DOM == 0x000040, "found 0x%.8x\n",
+               MDS_INODELOCK_DOM);
 
        /* Checks for struct mdt_ioepoch */
        LASSERTF((int)sizeof(struct mdt_ioepoch) == 24, "found %lld\n",