X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fmdc%2Flproc_mdc.c;h=faaf490cb1e5cdf25a334cf53b8b82c613278843;hb=7817e4c785d075aae76b635dcf799064590833b0;hp=ab47cac58a58855f25abf0e516ab00e6a2986b22;hpb=35fe4c696dd0faadc9405c19c68f0dd56aa5bb01;p=fs%2Flustre-release.git diff --git a/lustre/mdc/lproc_mdc.c b/lustre/mdc/lproc_mdc.c index ab47cac..faaf490 100644 --- a/lustre/mdc/lproc_mdc.c +++ b/lustre/mdc/lproc_mdc.c @@ -27,7 +27,7 @@ * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2012, Intel Corporation. + * Copyright (c) 2011, 2014, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -42,7 +42,7 @@ #include "mdc_internal.h" -#ifdef LPROCFS +#ifdef CONFIG_PROC_FS static int mdc_max_rpcs_in_flight_seq_show(struct seq_file *m, void *v) { @@ -142,6 +142,6 @@ struct lprocfs_seq_vars lprocfs_mdc_obd_vars[] = { .fops = &mdc_state_fops }, { .name = "pinger_recov", .fops = &mdc_pinger_recov_fops }, - { 0 } + { NULL } }; -#endif /* LPROCFS */ +#endif /* CONFIG_PROC_FS */