X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Fllite_lib.c;h=34f162704b2bab3dccda38d2c187a574df40b2c5;hp=a7e8672619b0af62fff5fbdb8e96ba91693b9dcd;hb=1db90b29ad676c2cf1888ef5a7c623161ff23bf9;hpb=2b0a34fe43bf4fce5560af61a45e5393c96070a9 diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index a7e8672..34f1627 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -1016,7 +1016,7 @@ int ll_fill_super(struct super_block *sb, struct vfsmount *mnt) char *profilenm = get_profile_name(sb); struct config_llog_instance *cfg; /* %p for void* in printf needs 16+2 characters: 0xffffffffffffffff */ - const int instlen = sizeof(cfg->cfg_instance) * 2 + 2; + const int instlen = 16 + 2; unsigned long cfg_instance = ll_get_cfg_instance(sb); char name[MAX_STRING_SIZE]; int md_len = 0;