ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
int rc;
ENTRY;
- CLASSERT(sizeof(struct mdt_rec_create) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(struct mdt_rec_create) !=
+ sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
ENTRY;
- CLASSERT(sizeof(struct mdt_rec_setxattr) ==
- sizeof(struct mdt_rec_reint));
-
+ BUILD_BUG_ON(sizeof(struct mdt_rec_setxattr) !=
+ sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);
struct mdt_rec_resync *rec;
ENTRY;
- CLASSERT(sizeof(*rec) == sizeof(struct mdt_rec_reint));
+ BUILD_BUG_ON(sizeof(*rec) != sizeof(struct mdt_rec_reint));
rec = req_capsule_client_get(pill, &RMF_REC_REINT);
if (rec == NULL)
RETURN(-EFAULT);