]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging/lustre/mdt: add macros for fid string len
authorjcl <jacques-charles.lafoucriere@cea.fr>
Mon, 22 Jul 2013 16:06:40 +0000 (00:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 19:48:25 +0000 (12:48 -0700)
commit001f54878a57a95dd373a7071693173b66ba999c
tree8375c91c4d8036bce1fb3612c918fb47b50a58c1
parent5dd16419919787eed5a3ade9f03a58ecfc9e8630
staging/lustre/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)

Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2782
Lustre-change: http://review.whamcloud.com/5299
Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre/lustre_user.h