Whamcloud - gitweb
LU-2782 mdt: add macros for fid string len
authorjcl <jacques-charles.lafoucriere@cea.fr>
Thu, 7 Feb 2013 22:34:15 +0000 (23:34 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Jun 2013 04:30:12 +0000 (00:30 -0400)
commit8c5dc672bf613b3dbb5406c3e5995f3db199642a
tree47d4d68c5716579dd7c2a85245cc8ed790f8ed52
parenta61ff5914bf6b784b22eea0625bb8b61d7bea950
LU-2782 mdt: add macros for fid string len

add 2 macros for the length of a fid string 0xSEQ:0xOID:0xVER
and it's brace version (FID_NOBRACE_LEN, and FID_LEN)

Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Change-Id: If257b7e12f43ea48bbdf6a6788d285d465c6a1bc
Reviewed-on: http://review.whamcloud.com/5299
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_user.h
lustre/mdt/mdt_handler.c