X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_cfg.h;h=e52a9f3e1949b48ef56bc983acf90b29562330a1;hp=266d6f5ec43c74e7a46b217fae3f392c6298d871;hb=665e36b780faa2144cecccd29a0d8a8196a76903;hpb=3b54655ccd0f219d31a34ce1ef9dab94839cd146 diff --git a/lustre/include/lustre_cfg.h b/lustre/include/lustre_cfg.h index 266d6f5..e52a9f3 100644 --- a/lustre/include/lustre_cfg.h +++ b/lustre/include/lustre_cfg.h @@ -73,6 +73,10 @@ enum lcfg_command_type { LCFG_ADD_MDC = 0x00cf014, LCFG_DEL_MDC = 0x00cf015, LCFG_SPTLRPC_CONF = 0x00ce016, + LCFG_POOL_NEW = 0x00ce020, + LCFG_POOL_ADD = 0x00ce021, + LCFG_POOL_REM = 0x00ce022, + LCFG_POOL_DEL = 0x00ce023, }; struct lustre_cfg_bufs { @@ -222,7 +226,7 @@ static inline struct lustre_cfg *lustre_cfg_new(int cmd, OBD_ALLOC(lcfg, lustre_cfg_len(bufs->lcfg_bufcount, bufs->lcfg_buflen)); if (!lcfg) - RETURN(lcfg); + RETURN(ERR_PTR(-ENOMEM)); lcfg->lcfg_version = LUSTRE_CFG_VERSION; lcfg->lcfg_command = cmd;