X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre%2Flustre_user.h;h=736254b6424e227110ab9053e2c9cb0332e95e45;hp=b127ead9b92e4d4dd0ae961c4375b2f9e05c945c;hb=5351a1ba03e3464f26271216cd266d2cb77b5625;hpb=d5fe82b3000578cff0af3d293a7ffda8d6de9b46;ds=sidebyside diff --git a/lustre/include/lustre/lustre_user.h b/lustre/include/lustre/lustre_user.h index b127ead..736254b 100644 --- a/lustre/include/lustre/lustre_user.h +++ b/lustre/include/lustre/lustre_user.h @@ -797,8 +797,6 @@ static inline char *hai_dump_data_field(struct hsm_action_item *hai, int i, sz, data_len; char *ptr; - LASSERT(len > 0); - ptr = buffer; sz = len; data_len = hai->hai_len - sizeof(*hai); @@ -857,7 +855,6 @@ static inline int hal_size(struct hsm_action_list *hal) int i, sz; struct hsm_action_item *hai; - LASSERT(hal->hal_version == HAL_VERSION); sz = sizeof(*hal) + cfs_size_round(strlen(hal->hal_fsname)); hai = hai_zero(hal); for (i = 0 ; i < hal->hal_count ; i++) {