Whamcloud - gitweb
LU-12511 lustre: introduce LUSTRE_MDT_MAXNAMELEN 38/37738/5
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Feb 2020 02:43:25 +0000 (13:43 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:15:58 +0000 (05:15 +0000)
commitbb0e7e7d04a7319f56092d2412a5c8b88467541d
tree60907ef03f64f8a718989a64d730fb8937451cd8
parent2d9104895ba86eea855cbe1a989b4ec56d0c4173
LU-12511 lustre: introduce LUSTRE_MDT_MAXNAMELEN

Various char arrays which can contain a target name are
declared as [80].
Instead of a "magic constant" introduce LUSTRE_MD_MAXNAMELEN
and use that instead.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I029b8086d081297f4018ba9752c484b1ebd596db
Reviewed-on: https://review.whamcloud.com/37738
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/fld/fld_internal.h
lustre/include/lustre_fid.h
lustre/include/lustre_fld.h