X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdt%2Fmdt_lproc.c;h=c7295cb896c0043b176a57d1faf2eacd1aef7df9;hb=ad1810a2dbea1eed5e8b5feb55bdf915a545feb3;hp=7a5936c47cb759b719124139eec0c31814f88d43;hpb=3b5fc14da24a5c78346c2f42ea61b51c1d8c6191;p=fs%2Flustre-release.git diff --git a/lustre/mdt/mdt_lproc.c b/lustre/mdt/mdt_lproc.c index 7a5936c..c7295cb 100644 --- a/lustre/mdt/mdt_lproc.c +++ b/lustre/mdt/mdt_lproc.c @@ -27,7 +27,7 @@ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2013, Intel Corporation. + * Copyright (c) 2011, 2014, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -45,7 +45,7 @@ #include #include - +#include /* LUSTRE_VERSION_CODE */ #include /* @@ -61,7 +61,6 @@ #include #include #include "mdt_internal.h" -#include /** * The rename stats output would be YAML formats, like @@ -882,8 +881,8 @@ static struct lprocfs_seq_vars lprocfs_mdt_obd_vars[] = { { 0 } }; -int lprocfs_mdt_print_open_files(cfs_hash_t *hs, cfs_hash_bd_t *bd, - struct hlist_node *hnode, void *v) +static int lprocfs_mdt_print_open_files(cfs_hash_t *hs, cfs_hash_bd_t *bd, + struct hlist_node *hnode, void *v) { struct obd_export *exp = cfs_hash_object(hs, hnode); struct seq_file *seq = v; @@ -903,7 +902,7 @@ int lprocfs_mdt_print_open_files(cfs_hash_t *hs, cfs_hash_bd_t *bd, return 0; } -int lprocfs_mdt_open_files_seq_show(struct seq_file *seq, void *v) +static int lprocfs_mdt_open_files_seq_show(struct seq_file *seq, void *v) { struct nid_stat *stats = seq->private; struct obd_device *obd = stats->nid_obd;