Whamcloud - gitweb
LU-8998 misc: minor clean ups 86/26486/4
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 7 Apr 2017 22:34:04 +0000 (16:34 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Apr 2017 04:43:22 +0000 (04:43 +0000)
commit3709019d713144a82b9914c7723cb841275962b7
tree5126b7d4a26147c40cbc5877e28c4305f646e229
parent03ab4771dfc6dafa8e6cd72509d8a6ac6c7046da
LU-8998 misc: minor clean ups

Use LCME_ID_INVAL instead of comparing component IDs to 0.

Swab layout fields in lfsck_lmm2layout() to match existing usage.

Handle the (potential) case where LCME_ID_MAX isn't ~LCME_ID_MASK.

Fix man page dates.

Test-Parameters: trivial testlist=sanity-pfl
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I45b10156ac0081b2246b15c6790e42764b5cab07
Reviewed-on: https://review.whamcloud.com/26486
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/llapi_layout_comp_add.3
lustre/doc/llapi_layout_comp_extent_get.3
lustre/doc/llapi_layout_comp_flags_get.3
lustre/doc/llapi_layout_file_comp_add.3
lustre/lfsck/lfsck_layout.c
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/utils/liblustreapi_layout.c