X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmgc%2Fmgc_internal.h;h=8096d5932842705e9d1ffbb376f9f69caf3641b0;hb=5c3a69e52444f8ea17849df1f9de0465d1398224;hp=0e5ad2cfa4b0ca6d4a145e545ca85fec1e2c55e4;hpb=d190c63f22c5726c303393fce41e13d2dfccaee4;p=fs%2Flustre-release.git diff --git a/lustre/mgc/mgc_internal.h b/lustre/mgc/mgc_internal.h index 0e5ad2c..8096d59 100644 --- a/lustre/mgc/mgc_internal.h +++ b/lustre/mgc/mgc_internal.h @@ -28,6 +28,8 @@ /* * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2011, Whamcloud, Inc. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -46,11 +48,18 @@ #ifdef LPROCFS void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars); +int lprocfs_mgc_rd_ir_state(char *page, char **start, off_t off, + int count, int *eof, void *data); #else static void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars) { memset(lvars, 0, sizeof(*lvars)); } +static inline int lprocfs_mgc_rd_ir_state(char *page, char **start, + off_t off, int count, int *eof, void *data) +{ + return 0; +} #endif /* LPROCFS */ int mgc_process_log(struct obd_device *mgc, struct config_llog_data *cld);