X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-ldiskfs%2Fosd_iam.h;h=b4ee34d82fe1143f007c3ee1c8c01a95e7141283;hb=ff09273feadc994c8c83118e9c4b33189bf04b6d;hp=23cd2868510d2944bf58e1259595ea7f19ba0287;hpb=1a7720934dfb3105afd2f025c953bea2167d4e5d;p=fs%2Flustre-release.git diff --git a/lustre/osd-ldiskfs/osd_iam.h b/lustre/osd-ldiskfs/osd_iam.h index 23cd286..b4ee34d 100644 --- a/lustre/osd-ldiskfs/osd_iam.h +++ b/lustre/osd-ldiskfs/osd_iam.h @@ -46,9 +46,7 @@ /* * osd_iam.h */ -#ifndef CLASSERT -#define CLASSERT(cond) do {switch(42) {case (cond): case 0: break;}} while (0) -#endif + /* implication */ #define ergo(a, b) (!(a) || (b)) /* logical equivalence */ @@ -586,11 +584,11 @@ enum iam_it_flags { /* * this iterator will move (iam_it_next() will be called on it) */ - IAM_IT_MOVE = (1 << 0), + IAM_IT_MOVE = BIT(0), /* * tree can be updated through this iterator. */ - IAM_IT_WRITE = (1 << 1) + IAM_IT_WRITE = BIT(1) }; /*