From: kalpak Date: Thu, 31 Jul 2008 07:51:07 +0000 (+0000) Subject: b=16227 X-Git-Tag: v1_7_72~1^25~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=028579cbdefd5c75e76c7248dcd75974be9399bf;p=fs%2Flustre-release.git b=16227 i=adilger i=shadow add lsm argument to obd_get_info. For some get_info calls the lsm was being sent as part of the key which was a hack. Now lsm can be sent as an argument. --- diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 29b2194..92f6d9b 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -568,7 +568,7 @@ int ll_get_max_mdsize(struct ll_sb_info *sbi, int *lmmsize) *lmmsize = obd_size_diskmd(sbi->ll_osc_exp, NULL); size = sizeof(int); rc = obd_get_info(sbi->ll_mdc_exp, sizeof(KEY_MAX_EASIZE), - KEY_MAX_EASIZE, &size, lmmsize); + KEY_MAX_EASIZE, &size, lmmsize, NULL); if (rc) CERROR("Get max mdsize error rc %d \n", rc);